Question: what to do if my 2 year old has diarrhea?
Answer: Eat more foods containing starch. Starchy foods are easily digested during diarrhea. ... 
Drink extra water. Avoid all fruit juices and carbonated drinks.
Milk and milk products are fine.
Avoid beans or any other foods that cause loose stools.