Patients with esophageal ulcers should eat light, easily digestible foods, such as fresh vegetables, fruits, rice porridge, broth, soft noodles, egg custard and so on. And the cooking method should be mainly steamed or boiled, avoiding too much oil, or food that is too rough or too hard, etc. Try to avoid spicy, cold and greasy food, such as coffee, strong tea, strong broth, chili, ginger, garlic, vinegar, etc., so as not to damage the gastric mucosa. You should develop good eating habits, eat three meals regularly and quantitatively, chew and swallow slowly, avoid overeating, avoid being too hungry, too full, etc.