Worms are known to cause a variety of uncomfortable side effects. These often present as stomach aches, loose stools, and loss of appetite. If you suspect you have a gut problem, it's important to consult a doctor for diagnosis and treatment. One effective medication used to get rid of worms is mebendazole. It acts on interfering with the parasite