Before gastroenteroscopy, there are precautions to be taken to rule out the contraindications to gastroscopy, fasting, stopping anticoagulant drugs, and cleansing the intestinal tract, etc., and you need to choose well-digested and light food. 1. Excluding the contraindications of gastroscopy: Improve the blood routine, coagulation, Hepatitis B V and ECG in advance to exclude the contraindications of gastroscopy. 2. Fasting: In order to ensure that the stomach is fully emptied of food during gastroscopy, so that the doctor can have a full and clear vision during the examination and facilitate the examination, it is recommended to fast for 8 hours before gastroscopy. 3. Discontinue anticoagulant drugs: If the patient has been taking anticoagulant drugs, it is recommended to stop using them for a week or so, so as not to cause a lot of bleeding during the operation. 4. Clean the intestinal tract: such as magnesium sulfate, compound polyethylene glycol electrolyte powder or water enema, etc. The specific way of cleaning the intestinal tract should be carried out according to the doctor’s instructions. Before gastroscopy, the patient’s diet should be elected well-digested, light food, it is recommended to mainly semi-liquid, such as porridge, noodles, etc., and prohibit the intake of food containing residue, such as vegetables, fruits and other foods, and the main dinner is mainly fluid, such as porridge, lotus root powder and so on. As there are also differences between individual patients, it is recommended to consult a doctor in time to understand their own precautions with the help of the doctor.