When you're sprinting for the bathroom, diarrhea seems more like an uncomfortable inconvenience than one of Mother Nature's ingeniously simple health-protection strategies. Designed to flush out invaders as quickly as possible, it can have serious consequences such as dehydration and loss of electrolytes. You can sidestep bouts of diarrhea by tackling the bugs, the drugs and the other causes that trigger it.