I know bathroom habits can be difficult to discuss, but, as a nutritionist, it's just part of the job. When you overeat, your whole system goes into warp speed to digest the food and move it through the pipes, so to speak. Your body may speed up this process even more, leading to diarrhea and/or frequent trips to the bathroom, if you eat foods that are already irritating to the digestive system. This can be different for everybody, but common offenders are dairy, fiber, and high-fat foods.
Stop diarrhea before it starts by chewing your food well and avoiding foods that you know have caused you problems in the past. If you've already called in to work and spent the morning locked in your bathroom, the most important thing you can do is hydrate, hydrate, hydrate. Drink lots of water, and consider adding in broth or coconut water to replace electrolytes. Stick to simple, bland foods until you're feeling like yourself again.