Eliminating pinworms usually involves a two-step process: medication and hygiene measures.
Medication: Over-the-counter options include pyrantel pamoate and mebendazole. Prescription medications such as albendazole or pyrvinium pamoate may be used for more severe cases or when OTC treatments are ineffective.
Hygiene and Environment: Wash hands frequently with soap and warm water, keep fingernails short, avoid scratching the affected area, and wash bedding and clothing in hot water. Clean toilet and bathroom surfaces regularly and avoid sharing personal items like towels.
Complete the full course of medication even if symptoms disappear, and follow strict hygiene to prevent reinfection or spread to others. Consult a doctor if the infection persists.