If a patient has gastric ulcer complicated by bleeding, the first step is to actively stop the bleeding and provide symptomatic treatment. Pantoprazole can be administered intravenously. At the same time, the patient should fast from food and water, and receive intravenous infusions of glucose, potassium chloride, and saline.
If the bleeding stops, the patient can consume a small amount of liquid or semi - liquid food.
However, if the gastric ulcer is extremely severe, a subtotal gastrectomy should be considered.
Therefore, it is essential to have three regular meals a day, avoid eating cold, hard, spicy foods, and limit or avoid alcohol consumption to protect the stomach and prevent the occurrence of gastric ulcers.

Gastric ulcers are also prone to canceration. So, the treatment of gastric ulcers is also crucial.
If surgery is not an option, rabeprazole can be taken orally to inhibit gastric acid secretion, and bismuth pectin can be used to protect the gastric mucosa for an eight - week course of treatment.
If the patient is also infected with Helicobacter pylori, amoxicillin can be taken orally to kill the bacteria for a two - week course of treatment.

Regular gastroscopy follow - up is necessary to prevent canceration.