Objective: To study the effect of omeprazole and amoxicillin in the treatment of patients with gastric ulcer. Methods: 88 patients with gastric ulcer in our hospital from March 2018 to March 2020 were selected as research subjects and divided into experimental group (44 cases were treated with omeprazole + amoxicillin) and control group (44 cases were treated with omeprazole). The therapeutic effect, positive rate of breath test before and after treatment, recurrence rate within half a year and adverse reactions were compared between the two groups. Results: The total effective rate of the experimental group (97.73%, 43 / 44) was higher than that of the control group (84.09%, 37 / 44), P < 0.05; After treatment, the positive rate of breath test in the experimental group (22.73%, 10 / 44) was lower than that in the control group (47.73%, 21 / 44), P < 0.05; The recurrence rate in the experimental group was 4.55% (2 / 44), which was significantly higher than that in the control group (20.45%, 9 / 44), P < 0.05; The incidence of adverse reactions in the experimental group (9.09%, 4 / 44) was significantly lower than that in the control group (15.91%, 7 / 44), P < 0.05. Conclusion: In the process of clinical treatment of gastric ulcer, omeprazole combined with amoxicillin has significant effect, not only the recurrence rate is low, but also the incidence of adverse events should be less, and the treatment is safer.