The medications used for the treatment of pinworm are either mebendazole, pyrantel pamoate, or albendazole. Any of these drugs are given in one dose initially, and then another single dose of the same drug two weeks later. Pyrantel pamoate is available without prescription