1. Home
  2. New Zealand
  3. Treatment

What should you eat with a stomach ulcer?

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

Key facts

  • A balanced diet with regular, smaller meals (Healthify).
  • Avoid food and drinks that make your pain worse, such as alcohol, coffee and spicy food (Healthify).
  • Our faecal antigen test checks for H. pylori at home, in 10 minutes.

When should you eat?

Finish your evening meal 3 to 4 hours before you go to bed (Healthify).

What about fatty foods?

Trouble with fatty foods is one of the symptoms of an ulcer (Healthify).

Will changing your diet heal the ulcer?

Diet eases the pain. The ulcer is treated with medicine that reduces stomach acid, plus antibiotics if H. pylori is the cause (Healthify). That's why it's worth knowing whether you have H. pylori.

How to do the home test

  1. Catch a poo 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 GP before stopping a PPI such as omeprazole or pantoprazole. If they agree, stop it 2 weeks before you test. Don't take antibiotics, or bismuth (found in some indigestion remedies), for 4 weeks before the test (bpac nz), and never cut a course of antibiotics short.

What your result means

  • C and T lines: H. pylori detected. Take your result to your GP 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 urgently, 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, passing black poo or have sudden, severe belly pain, call 111.

Frequently asked questions

Does spicy food cause ulcers?

Spicy food can make the pain worse. Most ulcers are caused by H. pylori (Healthify).

Test at home today

One faecal antigen test with everything you need. Your result in 10 minutes, delivered anywhere in New Zealand.

$49.00

Sources

  1. Healthify He Puna Waiora. Peptic ulcer. Reviewed 8 November 2022. healthify.nz/health-a-z/p/peptic-ulcer
  2. bpac nz. Helicobacter pylori. Published July 2022, updated 27 August 2026. bpac.org.nz/2022/h-pylori.aspx
  3. Healthify He Puna Waiora. Helicobacter pylori. Reviewed 2 October 2025. healthify.nz/health-a-z/h/helicobacter-pylori

First published November 2026.

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