A bout of stomach cramps may be caused by an irritating diet, cold or gastric ulcers, which can be treated by improving diet, hot compresses or medication. 1. Irritating diet: too spicy, too acidic and other irritating foods can lead to an increase in gastric acid, corrode the gastric mucous membrane barrier, leading to gastric acid and other substances in the stomach to stimulate the nerves of the gastric lining, resulting in stomach cramps. It is necessary to improve the diet, avoid spicy and stimulating foods, and if necessary, use aluminum sulfate to protect the gastric mucosa for treatment. 2. Cold: A bout of stomach cramps may also be caused by indigestion due to recent cold, and the stomach lining is stimulated by stress. Patients can be treated by applying hot compresses and drinking hot water. 3. Gastric ulcer: stomach cramps may also be caused by gastric ulcer, patients due to their own secretion of gastric acid increases, resulting in the corrosion of the mucous membrane of the stomach wall, the patient can take omeprazole, aluminum thioglycollate, etc. for treatment. It is recommended that once the patient finds himself after a burst of stomach cramps, timely medical perfect relevant examination, standardized treatment. In addition, drugs may cause side effects symptoms, medication should be used under the guidance of a doctor, do not blindly use drugs.