Bananas, oatmeal, plain rice, boiled potatoes and baked chicken without fat or skin can help prevent diarrhea, states Everyday Health. Foods that contain probiotics or healthy bacteria, such as yogurt, soy drinks, sauerkraut and kimchi, are also helpful.
Eating foods that travel through the intestines very fast can worsen the symptoms of diarrhea, says Everyday Health. Foods to avoid include ice cream, milk and fatty foods, as well as alcohol and caffeine drinks, as they can cause loss of fluids from the body. Eating food right away after cooking prevents bacterial growth, and raw fruits and vegetables and undercooked meats should be avoided, advises Mayo Clinic.