[header] How to get rid of threadworms [title] Take one dose of an anti-worm medication. [step] Your doctor will prescribe (or recommend an over-the-counter version of) an anti-worm medication. Some examples include mebendazole, pyrantel permeate, and albendazole. 
You will be directed to take one dose of one of these medications (follow the specific instructions of your doctor) and then to wait two weeks. [substeps] The way this medication works is that it kills off any adult worms.