Hand washing is the best way to prevent pinworms from spreading. Don't bathe with anyone or share towels during treatment and for two weeks after the final treatment. Discourage nail biting.
In girls, pinworm infection can spread to the vagina and cause a vaginal discharge. Treatment involves two doses of medication with the second dose being given two weeks after the first dose.