Helicobacter pylori is a special kind of bacteria that is closely related to gastritis, gastric ulcer and duodenal ulcer. After the patient has H. pylori infection, the first time should be standardized treatment, if the treatment program is reasonable and regular, most patients can be cured after standardized treatment. Of course, there are individual differences in treatment effects, which are affected by bacterial resistance, feasibility of treatment program and patient compliance. Due to the high level of bacterial resistance, the success rate of the treatment program is gradually decreasing, and patients do not take the medication on time and in sufficient quantity, so the patients are not completely cured after treatment, resulting in recurrence. On the other hand, the treatment needs to be paired with proton pump inhibitors at the same time, and some patients metabolize the drug too quickly to meet the requirements of the intragastric environment of the treatment, which will lead to a decrease in the eradication rate of H. pylori. Therefore, patients who have not been eradicated by repeated treatments should be monitored for H. pylori drug resistance and metabolized genes for proton pump inhibitors. If the bacteria are not eradicated, the patient remains at risk of developing H. pylori-related illnesses that may be transmitted to those around them. If the patient has upper abdominal pain, discomfort, or belching in the abdomen, testing for H. pylori infection is recommended, with the option of a C13 or C14 urea breath test and, if necessary, gastroscopy and other tests to determine the presence of H. pylori infection and treatment based on the diagnosis.