Gastric ulcer and duodenal ulcer are relatively common diseases in gastroenterology. In addition to the treatment of peptic ulcer, dietary attention is also very important, mainly in the following aspects. The first phase of dietary treatment, applicable to the acute attack of ulcer disease, or just after the cessation of bleeding, can enter the liquid diet, 6 to 7 meals a day, two of which are milk, those who do not adapt to milk, or abdominal flatulence, can be replaced by soy milk, or home, sago sugar, can also be given between meals, soy milk, rice soup, tofu brain, etc. The second stage of dietary treatment is suitable for those who have no gastrointestinal bleeding, less pain, relief of self-conscious symptoms, and basic normalcy of Shen Yu, who can eat a relatively easy to digest and absorb, less residue, semi-fluid diet, such as egg porridge, mashed meat, noodles, rotten noodles, etc., can be added with milk to drink, egg flower. The third stage of dietary treatment, applicable to stable disease, the symptoms of self-consciousness significantly reduced or largely disappeared, the diet should be soft digestive semi-liquid diet, available noodles, noodle porridge, small wontons, small dumplings, steamed fish, etc., to prevent overfullness, causing abdominal distension, do not eat, coarse fiber or vegetables and salty vegetables. The fourth stage of dietary treatment is suitable for patients with stable disease, the ulcer is basically healed, and gradually recovered, to use easily digestible and absorbable food, unlimited staple food, in addition to the main food, three meals, you can add two snacks, do not eat, fried and coarse fiber food.