Eating spoiled food resulting in an upset stomach from time to time can be treated with medications such as montelukast, aluminum sulfate, and levofloxacin lactate. Eating spoiled food that causes stomach discomfort from time to time may be related to gastroenteritis and so on, resulting in damage to the mucous membrane of the gastrointestinal tract, and the symptoms of stomach discomfort will occur. It can be treated with antidiarrheal drugs and drugs to protect the gastrointestinal mucosa, such as montelukast, aluminum thiosulfate, etc. If it is combined with bacterial infection, antibiotics such as levofloxacin lactate can be taken. In addition, patients should pay attention to adjust the diet, with light and nutritious, easy to digest food, such as soft noodles, millet porridge, rice paste, etc., to avoid spicy, cold, greasy and other stimulating food. The above drugs are prohibited for those who are allergic to them, and they should all be taken in accordance with medical advice. If the patient’s stomach discomfort is more serious, or persistent failure to improve, it is recommended to go to the regular hospital in time, under the guidance of the doctor to carry out targeted treatment, in order to reduce the adverse effects of the disease.