Dairy is no good for diarrhea, I'm not sure why but it makes it worse.

Like Cat said, eat bland, boring food, lots of water and hydrolite if you need.