How is a stomach ulcer treated?
Written by the HpyloriTest.com editorial team. Updated on .
Key facts
- Most people take medicine to reduce stomach acid. If H. pylori is there, antibiotics are added (HealthLink BC).
- If H. pylori isn't treated, the ulcer is likely to come back (Canadian Digestive Health Foundation).
- Our home stool antigen test checks for H. pylori in 10 minutes.
Which medicines reduce acid?
- antacids, such as Tums
- H2 blockers, such as Pepcid
- proton pump inhibitors (PPIs), such as Losec
Source: HealthLink BC. Some of these affect an H. pylori test. See Before you test, below.
What is the H. pylori treatment?
At least two antibiotics and a PPI, sometimes with bismuth (HealthLink BC). More in how H. pylori is treated.
What can you do yourself?
- avoid aspirin and anti-inflammatory painkillers, and ask your doctor what's safe for pain
- stop smoking
- drink in moderation, or not at all
- eat small, frequent meals
Source: HealthLink BC.
How to do the home test
- Catch a stool sample and dip the end of the sampling stick into it.
- Put the stick back in the tube, then stir and turn it for about 10 seconds.
- Squeeze 2 drops into the round sample hole on the test.
- Lay the test flat and read it at 10 minutes.
Our step-by-step guide and video show each stage.
Before you test
Ask your doctor before stopping a PPI such as Losec or Pantoloc. If they agree, stop it 2 weeks before you test. Don't take antibiotics or bismuth (Pepto-Bismol) for 1 month before the test (HealthLink BC), and never cut a course of antibiotics short.
What your result means
- C and T lines: H. pylori detected. Take your result to your doctor to talk about treatment.
- C line only: not detected.
- No C line: the test didn't work. Use a new test.
When to see a doctor instead
See a doctor straight away, instead of testing at home, if you have:
- trouble swallowing
- weight loss you can't explain
- vomiting that keeps coming back
If you're vomiting blood or passing black stools, call your doctor now. Call 911 if you have sudden, severe belly pain that won't stop.
Frequently asked questions
Do all ulcers need antibiotics?

Test at home today
One stool antigen test with everything you need. Your result in 10 minutes, delivered anywhere in Canada.
Sources
- HealthLink BC. Peptic ulcer disease. Current as of March 22, 2023. www.healthlinkbc.ca/healthwise/peptic-ulcer-disease
- Canadian Digestive Health Foundation. Peptic ulcer and H. pylori. Updated June 23, 2025. cdhf.ca/en/digestive-conditions/peptic-ulcer-h-pylori/
- HealthLink BC. Helicobacter pylori tests. Current as of October 31, 2022. www.healthlinkbc.ca/tests-treatments-medications/medical-tests/helicobacter-pylori-tests
- HealthLink BC. Gastroesophageal reflux disease (GERD). Current as of March 22, 2023. healthlinkbc.ca/health-topics/gastroesophageal-reflux-disease-gerd
First published November 2026.