Children affected by this condition should be given oral rehydration solutions. During an episode of gastroenteritis, certain foods like dairy products, sugary foods, caffeine, alcohol, and fatty and greasy foods should be avoided. Bland and easily digestible foods, such as rice, bananas, potatoes, and toast can be consumed during this period.