When you have diarrhea, you should choose the right medicine according to the different causes and symptoms, and you can’t eat food to stop diarrhea. When diarrhea occurs, the first thing you need to know is the cause of the diarrhea. If the diarrhea is caused by an infection, you need to choose the right medication for the pathogen, such as antibiotics and antiviral drugs. Some people are intolerant to specific food ingredients such as lactose and diarrhea occurs when they consume foods with this substance, in which case they need to stop eating these foods. The most important thing for different types of diarrhea is to find the cause. In the case of diarrhea, the appropriate laxative is chosen to treat the symptoms, depending on the characteristics of the patient. There are no studies that show that you can stop diarrhea by eating when you have diarrhea. Common laxatives include montelukast, medicinal charcoal, difenocoumarol, loperamide, and so on. Seek medical attention if you are unwell. Follow your doctor’s instructions if you need medication.