Stomach pain usually occurs in the middle of the night with nausea and vomiting, which may be mainly related to improper diet, acute gastritis, peptic ulcer and acute pancreatitis. Patients should promptly consult a doctor, improve the relevant examination, and treat the cause after clarification. 1, improper diet: If you eat spoiled or undercooked food for dinner, or overconsume raw, cold, greasy and other foods, it can lead to stomach pain and other uncomfortable symptoms in the middle of the night, you can apply drugs such as bifidobacteria to regulate intestinal flora, improve the digestive function of the gastrointestinal tract, and relieve discomfort, patients need to pay attention to avoid eating spoiled and other foods that may lead to gastrointestinal discomfort 2, acute gastritis: inflammatory stimulation of the stomach can lead to nausea, vomiting, bloating, abdominal pain, diarrhea and other symptoms, patients can perform routine blood tests, if the neutrophils are elevated, usually bacterial acute gastritis, can be treated with antibacterial drugs, such as amoxicillin, metronidazole, with omeprazole, bismuth potassium citrate and other auxiliary treatment. If the neutrophils are normal, it is viral gastritis, there are no special drugs, mainly symptomatic treatment, such as taking metoclopramide, rabeprazole and other drugs as prescribed by the doctor to relieve the symptoms of stomach pain; 3, peptic ulcer: common in the duodenal bulb ulcer, can be caused by excessive secretion of gastric acid or infection of Helicobacter pylori, etc. Pain has a cycle, can be attacked at night, usually relieved after meals. Patients can use drugs that can inhibit gastric acid secretion as well as protect the gastric mucosa, such as bismuth citrate potassium granules, omeprazole enteric tablets, etc., under the guidance of a professional doctor, and if necessary, surgical treatment can be chosen to remove the ulcer lesion; 4, acute pancreatitis: often caused by long-term heavy drinking or overeating, generally first appear abdominal pain symptoms, mostly in the left upper abdomen, and at night rest, because of more focused attention. So abdominal pain, nausea and other symptoms will be more obvious. Patients need to follow medical advice for rehydration treatment to improve blood volume and prevent pancreatic necrosis, while antibiotics can be used for local antibacterial treatment to eliminate inflammation, such as metronidazole, cephalosporin, can be combined with octreotide, growth inhibitors and other drugs to inhibit pancreatic fluid secretion and reduce pain. In addition, patients should also pay attention to exclude disease factors such as appendicitis, gastric stone disease and acute cholecystitis, and should also pay attention to regular diet and health promotion in daily life.