If you have diarrhea, stay away from the high-fiber food for a few days. Focus on foods that are constipating, such as red meat, white rice, dairy, and eggs. If it’s really bad, use the BRAT diet: bananas, rice, applesauce, and toast. Over-the-counter remedies may also help slow or stop the diarrhea. If it is affecting your health and energy levels, talk to your doctor about changing medications.