If your child eats solid foods, the doctor might recommend switching to bland, starchy foods like strained bananas, applesauce, and rice cereal until the diarrhea stops. Mothers who are breastfeeding might need to adjust their own diet to avoid any foods that could trigger diarrhea in their babies.