https://health.google.com/health/ref/Helicobacter+pylori
I had H. pylori, and after I got treated for it, 99.9% of my stomach issues (chronic pain, irritation/discomfort, bloating, gas, etc.) cleared up. I did not have an ulcer. I was diagnosed with a blood test, and they retest to make sure it's gone with a stool test, because the antibiodies are still present (enough for a false positive) in your blood for up to a year.
I hope you're feeling better soon!