The medication for H. pylori infection is usually a quadruple therapy, i.e., two antibiotics, a bismuth agent, and a proton pump inhibitor. Two antibiotics are often used in amoxicillin, clarithromycin, metronidazole, tinidazole, levofloxacin, furazolidone, tetracycline, ciprofloxacin, etc. It is important to note that if there is a history of allergy to one of the antibiotics, or an allergic reaction occurs in the use of the antibiotics need to be reported to the physician to change the drugs used. Bismuth can be used as bismuth potassium citrate, colloidal bismuth pectin, etc., which can form a protective film on the surface of gastric mucosa after taking. Proton pump inhibitors such as omeprazole and rabeprazole are commonly used to help prevent gastric ulcers and other diseases caused by Helicobacter pylori infection. The above medications should be taken under the guidance of a physician and should not be used blindly on their own.