Dyspepsia with stomach pain may be caused by chronic gastritis, gastric ulcer, gastric cancer and other diseases, which can be treated by diet, medication or surgery. 1. Chronic gastritis: Long-term diet irregularity, taking too much spicy and stimulating food, Helicobacter pylori infection and other reasons may lead to gastric mucous membrane congestion, edema, erosion and indigestion with stomach pain and other symptoms of chronic gastritis. You can take omeprazole and other drugs to inhibit gastric acid secretion, take bismuth potassium citrate and other drugs to protect the gastric mucosa, if there is Helicobacter pylori infection, you also need to cooperate with amoxicillin, clarithromycin and other antibiotic treatment. 2. Gastric ulcer: improper diet, alcohol, drugs and other factors may lead to gastric mucous membrane damage and indigestion with stomach pain and other symptoms of gastric ulcer. Mild gastric ulcers can be treated with acid-suppressing drugs, gastric mucous membrane protectants such as omeprazole and bismuth potassium citrate, etc. Refractory ulcers such as giant ulcers need to be treated with surgery. 3. Stomach cancer: Long-term inflammation stimulation, diet, heredity and other factors may induce stomach cancer with indigestion and stomach pain. There is no specific treatment drug for stomach cancer, so surgery and radiotherapy are needed as early as possible. Dyspepsia with stomach pain may also be caused by other diseases, so it is recommended to consult doctor in time and take targeted treatment under doctor’s guidance. Please do not take medication by yourself to avoid delaying the condition.