Nighttime stomach pain is often the possibility of ulcers in the duodenal bulb, but of course, the characteristics of intestinal spasm cannot be ruled out. Generally, in this case: first, you can consider giving local heat compress, heat compress can effectively improve the intestinal spasm, improve the symptoms of gastrointestinal pain; second, appropriate drug symptomatic treatment, commonly used are intramuscular injections of scopolamine hydrochloride, or intramuscular injections of metoclopramide hydrochloride, most can play a relieving effect. Of course, this condition of stomach pain also needs to be differentiated from other diseases, such as pancreatitis, early appendicitis, cholecystitis or intestinal obstruction. Therefore, if the pain is not relieved by symptomatic treatment with medication, it is necessary to improve the abdominal plain film examination and abdominal ultrasound examination to further assist the diagnosis and treatment, and if necessary, to improve the blood routine, blood amylase and blood ion analysis to further assist the symptomatic treatment.