Eating pain after gastroscopy can be relieved by adjusting diet, improving lifestyle, taking medication, etc. If the pain is severe, it is recommended to consult a doctor in time. Gastroscopy is a kind of invasive examination, which may cause some damage to the gastric mucosa during the examination, especially for patients undergoing biopsy, which will cause damage to the gastric mucosa when taking tissues. If you rush to eat, it will irritate the gastric mucosa and cause pain. Therefore, fasting should be done for 2~6 hours after gastroscopy. If patients have pain after eating, they can adjust the diet structure, try to focus on fluids or semi-fluids, such as millet porridge, egg custard, rotten noodles and so on. Avoid eating cold, spicy and other stimulating foods or barbecue, deep-fried and other indigestible foods, quit smoking and drinking, and avoid drinking strong tea and coffee. At the same time, pay attention to improve the lifestyle, ensure sufficient rest, avoid staying up late, overwork, etc., maintain a happy mood, avoid drastic changes in mood, anxiety, tension, etc.. Appropriate exercise such as walking, etc., to enhance their physical fitness. If the pain can not be relieved, you can take medication to treat, such as omeprazole and other acid inhibitors, bismuth potassium citrate and other gastric mucosal protection drugs, etc., to reduce the stimulation of gastric acid on the gastric mucosa, relieve symptoms. If the patient has severe pain after gastroscopy and eating, it is recommended to consult a doctor in time for reasonable treatment under the doctor’s guidance. Drugs must be taken strictly according to the doctor’s instructions, not self-medication, so as not to delay or even aggravate the condition.