There are more than three kinds of medicines for treating gastric ulcer, the commonly used ones are proton pump inhibitors such as omeprazole, gastric mucosa protectors such as magnesium aluminum carbonate tablets, and antibiotics such as amoxicillin. 1. proton pump inhibitors: such as omeprazole, pantoprazole, etc., can quickly inhibit gastric acid secretion, reduce gastric acid, the drug effect is strong, fast-acting. 2. Gastric mucosal protective agent: this class of drugs can reduce the stimulation of gastric acid on the gastric mucosa, promote mucosal repair, commonly used drugs are aluminum sulfate, magnesium aluminum carbonate tablets and so on. 3. Antibiotics: gastric ulcers usually have Helicobacter pylori infection, you can use amoxicillin, metronidazole and other antibiotic drugs, anti-inflammatory and bactericidal treatment, to choose the corresponding antibiotics for the germs. If you have gastric ulcers, you should use the medication reasonably under the guidance of the doctor, do not use it blindly, so as not to cause adverse reactions.