Eating at night and waking up the next day with an upset stomach may be due to indigestion, chronic gastritis, peptic ulcer, etc. According to the cause, medications such as digestive aids, antacids, gastric mucosa protectants, etc. need to be given. 1. Indigestion: Eating greasy, indigestible food at night triggers indigestion, leading to stomach discomfort the next day, you can give domperidone, gastrointestinal tablets, pepsin and other medications to promote digestion, and more abdominal rubbing, can relieve stomach discomfort. 2. Chronic gastritis: gastric mucous membrane damage at night eating food can not be digested in time, resulting in the next day woke up upset stomach can be given rabeprazole, pantoprazole, etc., to inhibit the secretion of gastric acid, combined with magnesium aluminum carbonate chewable tablets, aluminum thioglycollate and other drugs treatment. 3. Peptic ulcer: the presence of ulcerated surface of the gastric mucosa will cause abdominal distension, abdominal pain, acid reflux and other stomach discomfort, can be given rabeprazole, bismuth potassium citrate and other drugs. After eating at night and waking up with an upset stomach the next day, it is recommended to consult a doctor in time to identify the cause of the disease and then treat it under the guidance of the doctor. Specific medication as prescribed by the doctor.