What should I do if my stomach hurts when I eat?

A vague pain in the stomach when eating needs to be treated according to the cause, generally considered to be related to gastrointestinal dysfunction, gastric ulcer, gastritis, etc., to take the treatment includes general treatment, medication and so on. 1. Gastrointestinal dysfunction: a chronic or recurrent syndrome of gastrointestinal symptoms. The cause of the disease is unknown and may be related to improper diet and mental stress. It can be manifested as abdominal pain, diarrhea, constipation, nausea and so on. You can apply hot compresses to the abdomen or massage, if necessary, you can use antispasmodic and analgesic drugs such as scopolamine treatment. 2. Gastric ulcer: periodic epigastric pain, generally considered to be gastric ulcer. The cause may be Helicobacter pylori infection, irregular diet, prolonged exertion, late night, eating stimulation and other triggers, accompanied by belching, acid reflux, heartburn and other symptoms, can be used to inhibit acid drugs such as omeprazole, rabeprazole, amoxicillin, clarithromycin, etc., as well as gastric mucous membrane protective agents such as if the bismuth gel, teprenone, etc.. 3. Gastritis: the pain is usually burning pain in the upper abdomen, hidden pain, distension, etc., may appear abdominal distension, epigastric pain, loss of appetite, belching, nausea, vomiting, etc., after meals, there is an obvious feeling of fullness. Medications such as magnesium aluminum carbonate may be used. A meal on the hidden pain in the stomach there may be other causes such as chronic cholecystitis, it is recommended to go to the hospital in a timely manner, improve the relevant examination to clarify the cause, under the guidance of the doctor for targeted treatment or treatment, should avoid blindly self-medication.