Eating garlic does not kill H. pylori. The reason why eating garlic has an anti-inflammatory and antiseptic effect is that garlic contains allicin, which has a certain killing effect on S. typhi, S. paratyphi, S. tuberculosis, S. pneumoniae, and H. influenzae, but not on H. pylori. The treatment of H. pylori requires the use of antibiotics and the combination of acid suppressants and bismuth, which is often referred to as the quadruple therapy program, the specific medication needs to consult a specialist. If the patient has inflammation or ulcers in the stomach, eating raw garlic will stimulate the gastric mucosa, which will lead to an increase in gastric acid secretion and aggravate gastritis and gastric ulcers, so patients are advised to be cautious.