Eating garlic does not work to kill H. pylori, and it is recommended that appropriate medication be given under a doctor’s supervision. H. pylori can survive and multiply in the strong acidic environment of the stomach. H. pylori infection is mainly spread through the oral-oral and fecal-oral routes. It may lead to symptoms such as belching, abdominal bloating, acid reflux and heartburn, loss of appetite, epigastric pain and discomfort. Garlic is a common ingredient in life, not a drug, and relevant in vitro studies have shown that garlic has a certain anti-Helicobacter pylori effect, and cannot play a role in killing Helicobacter pylori. The most effective treatment to eradicate H. pylori is quadruple therapy. It includes a proton pump inhibitor, such as omeprazole. One bismuth-based drug, such as colloidal bismuth pectin. Two antibiotics, such as clarithromycin and amoxicillin, which can effectively kill H. pylori. Frequent digestive symptoms, such as abdominal bloating and acid reflux and heartburn, are recommended to visit the gastroenterology department of a hospital, where the diagnosis can be confirmed by a carbon breath test examination.