A bout of stomach cramps with diarrhea may be caused by improper diet, acute inflammation of the gastrointestinal tract, irritable bowel syndrome, etc. It can be treated with medications to protect the intestinal mucosa, antispasmodic, antibacterial, and intestinal microecological agents. 1. Improper diet: If you eat irritating food, it may irritate the gastrointestinal mucosa, and you will have stomach cramps with diarrhea. Antispasmodic drugs such as atropine sulfate tablets can be used, and intestinal mucosal protective preparations such as montelukast can be used to relieve symptoms. 2. Bacterial acute gastroenteritis: bacterial infection may occur after eating unclean food, taking anti-infective drugs is conducive to relieving symptoms, commonly used anti-infective drugs are levofloxacin tablets, ciprofloxacin hydrochloride tablets, etc., can be combined with the gastrointestinal mucosal protection drugs, such as aluminum sulfate, etc. for treatment. 3. Irritable bowel syndrome: mainly due to the stimulation of various physical and chemical factors leading to intestinal hyperperistalsis, intestinal paroxysmal abdominal colic, diarrhea symptoms. Can use antispasmodic drugs such as atropine sulfate tablets, intestinal microecological agents such as bifidobacteria, lactobacillus, etc., antidiarrheal drugs such as loperamide. Note that the above drugs should be used under the guidance of a doctor, avoid unauthorized use of drugs to avoid adverse effects. If the patient’s symptoms are not improved by the above methods, it is recommended to consult a doctor in time, improve the relevant examination, clarify the cause of the disease and treat the symptoms.