Helicobacter pylori infection is a bacterial infection that causes inflammation of your stomach lining and ulcers (sores) in your stomach or intestine. It's often shortened to H. pylori.