The best treatment for pinworms is treatment with anthelmintic drugs, which can achieve a quick and effective cure. Due to the specificity of the infection route and habits, treatment needs to be repeated 1-2 times, and oral medication can be chosen from albendazole. Albendazole can be taken in a single dose and repeated every two weeks. Mebendazole can also be chosen, mainly to inhibit the intake of glucose by worms, and the cure rate can reach up to 95%. Anthelmintic can also be applied, which is a broad-spectrum anthelmintic, to achieve the effect of deworming by inhibiting the cholinesterase of the worms, and dewormers can be treated for a short period of time. You can also treat with topical medication by washing the anus with warm water after defecation or before bedtime, and then using pinworm ointment containing Bupleurum and methyl violet, which can be squeezed into the anus through a thin tube to stop pinworms from laying eggs, so as to stop itching and reduce self-infection.