Anti-diarrhoeal agents are not used commonly in children.
Antibiotics can be used for gut infections and may include Ciprofloxacin and Metronidazole. Parasite treatments, Metronidazole can be used for Giardia, and sometimes Tinidazole if this fails.
Worms and then put Standard Threadworms can be treated with Mebendazole, and the whole family should be treated at the same time as the first dose, and all sheets changed and then another dose should be given to the whole family 10 days later.
If roundworms or tapeworms are suspected then other medications such as Albendazole or Invermectin may be used occasionally.
Abdominal migraine can be treated with medications such as Sumatriptan or Zolmitriptan and if these are effective, prophylaxis with Propranolol or preferably Pizotifen.