Amoxicillin, levofloxacin, colloidal bismuth pectin, and rabeprazole can be used to treat H. pylori. Amoxicillin has a strong anti-Helicobacter pylori effect, is the first choice of antibacterial drugs for the eradication of H. pylori treatment, and can be used in combination with levofloxacin. Colloidal bismuth pectin can effectively protect the gastric mucosa and enhance the protective ability of gastric mucosa. The main role of rabeprazole as an acid inhibitor in H. pylori eradication therapy is to inhibit gastric acid secretion and increase intragastric pH so as to enhance the effect of antimicrobial drugs. The current combination regimen for H. pylori eradication is a quadruple regimen containing bismuth, i.e., 1 PPI + 2 antibiotics and 1 bismuth, with a course of 10 to 14 days. Since the antibiotic resistance situation varies from place to place, the choice of antibiotics and the course of treatment should depend on the local drug resistance situation. Currently, H. pylori infection is considered as the most important controllable risk factor for preventing gastric cancer. In case of infection, one should seek medical treatment in time, take medication according to the course of treatment, abstain from smoking and alcohol, avoid spicy and stimulating food, and eat regularly to avoid delaying the disease.