After gastroscopy, you should pay attention to diet, living habits and your own recovery. 1. Diet: Gastroscopy is a kind of invasive examination, which is a method of inserting the gastroscope from the mouth to the esophagus and finally into the stomach for examination, and it may cause some stimulation to the gastric mucosa during the examination, so attention should be paid to diet after gastroscopy. For ordinary gastroscopy, if no biopsy is performed, food and water can be started about half an hour after the end of the procedure, and if biopsy is performed, food can be started 2 hours after the end of the procedure. If the patient is having a painless gastroscopy, he or she should eat after the anesthesia has worn off, which usually takes about 2 hours. Eating after gastroscopy should be based on a flow or semi-fluid diet with no or little slag, such as millet porridge, rotten noodles, egg custard, etc. Avoid eating cold, spicy and other stimulating foods, avoid drinking strong tea and coffee, quit smoking and drinking to reduce the stimulation of the gastric mucosa. 2. Lifestyle habits: patients should pay attention to rest after gastroscopy, maintain sufficient sleep, avoid staying up late, overwork and so on. At the same time, avoid high-intensity exercise. 3. Recovery: After gastroscopy, patients should pay attention to whether there is abdominal pain and bloating, nausea and vomiting, black stools and other discomforts, if there are obvious discomforts, it is recommended to consult a doctor in time and actively receive treatment. After the end of gastroscopy, patients should strictly follow the doctor’s instructions to do a good job of care, so as not to affect the recovery.