There is no optimal dietary treatment for H. pylori infection, and it is recommended to eradicate it through medication. Helicobacter pylori infection is often seen in chronic gastritis, peptic ulcer, etc. Normally, the diet should be light and avoid spicy and stimulating food. Helicobacter pylori infection often causes chronic gastritis, peptic ulcer or even precancerous lesions, and should be actively treated and eradicated, often using quadruple therapy, i.e., two antibiotics + a proton pump inhibitor + a bismuth, such as Amoxicillin + Clarithromycin + Omeprazole + Bismuth pectin; or Clarithromycin + Levofloxacin + Pantoprazole + Bismuth Potassium Citrate. Specific drug selection should be in accordance with medical advice, and antibiotic selection should be based on local drug resistance. For Helicobacter pylori infection, oral medication should be given in sufficient quantity and course for 14 days, and it is recommended to use the medication under the guidance of a gastroenterologist.