In the case of a bug or random thing with no frequency what you need to do is be drinking fluids from water to tea and Gatorade/Powerade and keep slugging it back for hydration.
Next thing you can do is have someone go to a pharmacy and purchase Imodium for you. They want the package that relieves gas plus diarrhea. Take a dose of that as directed and it should stop the problem and bind you up.
The problem is with diarrhea continuously happening at random usually because of diet. The best thing to do there is cut out milk, cheese, cream and dairy in general as well as coffee (especially with espresso which can cause you to poop) and any food that is an unknown such as sushi. Deep fried foods and soda can also cause some people problems. If that doesn't stop it look into IBS with a doctor as well as changing the oils and way you prepare food at home. [ solidadvice4teens's advice column | Ask solidadvice4teens A Question ]
Attention: NOTHING on this site may be reproduced in any fashion whatsoever without explicit consent (in writing) of the owner of said material, unless otherwise stated on the page where the content originated. Search engines are free to index and cache our content. Users who post their account names or personal information in their questions have no expectation of privacy beyond that point for anything they disclose. Questions are otherwise considered anonymous to the general public.