1. Home
  2. Canada
  3. Treatment

Do you need antibiotics for a stomach ulcer?

Written by the HpyloriTest.com editorial team. Updated on .

Key facts

  • Only if you have H. pylori. Then antibiotics are added to the acid-reducing medicine (HealthLink BC).
  • People who have had an ulcer and have H. pylori need treatment to clear it (HealthLink BC).
  • A test shows whether you have H. pylori, and you can do one at home in 10 minutes.

Which antibiotics are used?

At least two, taken with a proton pump inhibitor and sometimes bismuth (HealthLink BC). Canadian guidelines name amoxicillin, clarithromycin, metronidazole and tetracycline, in set combinations, for 14 days (Canadian guideline).

Why does the cause matter?

The two most common causes of ulcers are H. pylori and regular use of anti-inflammatory painkillers such as aspirin and ibuprofen (HealthLink BC). Antibiotics are only for H. pylori.

How do you find out?

With an H. pylori test. A stool test is one of the tests doctors order (HealthLink BC), and it's the one you can do at home.

How to do the home test

  1. Catch a stool sample and dip the end of the sampling stick into it.
  2. Put the stick back in the tube, then stir and turn it for about 10 seconds.
  3. Squeeze 2 drops into the round sample hole on the test.
  4. 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

Why not just take acid reducers?

They heal ulcers, but if H. pylori remains, the ulcer is likely to return (Canadian Digestive Health Foundation).

Test at home today

One stool antigen test with everything you need. Your result in 10 minutes, delivered anywhere in Canada.

$49.00

Sources

  1. HealthLink BC. Peptic ulcer disease. Current as of March 22, 2023. www.healthlinkbc.ca/healthwise/peptic-ulcer-disease
  2. HealthLink BC. Helicobacter pylori bacteria. Current as of October 31, 2022. www.healthlinkbc.ca/healthwise/helicobacter-pylori-bacteria
  3. Fallone CA, et al. The Toronto Consensus for the treatment of Helicobacter pylori infection in adults. Gastroenterology. 2016;151(1):51-69. www.cag-acg.org/images/publications/Hp_Toronto_Consensus_2016.pdf
  4. HealthLink BC. Helicobacter pylori tests. Current as of October 31, 2022. www.healthlinkbc.ca/tests-treatments-medications/medical-tests/helicobacter-pylori-tests
  5. HealthLink BC. Gastroesophageal reflux disease (GERD). Current as of March 22, 2023. healthlinkbc.ca/health-topics/gastroesophageal-reflux-disease-gerd
  6. Canadian Digestive Health Foundation. Peptic ulcer and H. pylori. Updated June 23, 2025. cdhf.ca/en/digestive-conditions/peptic-ulcer-h-pylori/

First published November 2026.

How to test for H. pylori at home (39 sec)