Infection with Helicobacter pylori is recommended to consume light and easy to digest foods rich in vitamins and proteins, but food cannot replace medication, and serious conditions should be treated with medication under the guidance of a doctor. Helicobacter pylori is a gram-negative microaerobic bacterium that lives in various areas of the stomach and duodenum, and patients may experience symptoms such as acid reflux, heartburn, stomach pain and bad breath. The patient’s diet should be light and easily digestible, with moderate consumption of vitamin-rich foods such as celery, fungus and apples. Meanwhile, high protein foods such as fish, shrimp and eggs can be consumed. The most important thing for Helicobacter pylori infection is medication, and food does not play the efficacy and role of medication to treat the disease. Patients should pay attention to oral hygiene, use of tableware should be sterilized in a timely manner, and develop good hygiene habits. When diagnosed with Helicobacter pylori, patients are advised to go to the hospital for examination in time and actively cooperate with doctors for treatment.