Diarrhea has many causes. Viral infections and contaminated food are two common triggers, but certain medications, various gastrointestinal disorders, and even stress can roil your insides. Follow these guidelines to determine what to do to remedy the situation.