Stomach pain with food residue in the stool may be caused by indigestion, gastrointestinal dysfunction, intestinal flora imbalance and other reasons, the patient can use drugs under the guidance of the doctor for treatment. 1. Dyspepsia: Dyspepsia refers to persistent or recurrent episodes of epigastric discomfort, usually caused by chronic overeating, etc. Patients can use drugs such as domperidone and mosapride under the guidance of a doctor, and the drug is contraindicated for those who are allergic to the product. 2. Gastrointestinal dysfunction: Gastrointestinal dysfunction is usually caused by patients’ irregular diet and unstable emotions, which usually results in anorexia, nausea and vomiting, abdominal pain, and food residue in stools, etc. Patients can use drugs such as Trimethoprim maleate tablets under the guidance of a doctor for treatment. 3. intestinal flora imbalance: intestinal flora imbalance can appear abdominal pain, stool with food residue, this situation can be given to bifidobacteria and other intestinal flora regulation, at the same time oral glutamine, vitamin B to regulate intestinal function. Stomach pain with food residue in the stool, there are other reasons, patients should pay attention to their dietary habits in daily life, under the guidance of the physician reasonable use of drugs for treatment, not blindly use their own medication.