Stomach ulcer

Also called Peptic ulcer, Gastric ulcer, or Duodenal ulcer

Stomach ulcers, also called peptic ulcers, are open sores that develop on the lining of the stomach or the first part of the small intestine (duodenum). The most common causes are an infection with Helicobacter pylori bacteria and taking anti-inflammatory painkillers such as ibuprofen or aspirin for a long time.

Last updated Nov 9, 2026

What it is

Most ulcers heal within a few weeks with medicines that reduce stomach acid. If H. pylori is found, antibiotics are given to clear it.

Stopping or changing anti-inflammatory painkillers, and stopping smoking, help ulcers heal and stop them coming back.

Common signs

  • A burning or gnawing pain in the upper tummy
  • Indigestion or heartburn
  • Feeling sick
  • Pain that gets better or worse with eating
  • Losing your appetite

How it is usually diagnosed

  • Tests for H. pylori (breath, stool or blood test)
  • A camera test (gastroscopy)

Records worth keeping

Keeping these together makes each appointment easier, especially when you see a new doctor:

  • H. pylori test results
  • Gastroscopy reports
  • Prescriptions
  • Medicine lists

Questions to ask your doctor

  • What caused the ulcer?
  • Do I need a test to check H. pylori has gone?
  • Which painkillers are safe for me?

When to get help right away

Call 112 or go to the nearest emergency department if you have:

  • Vomiting blood, black or tarry poo, or sudden severe tummy pain: call 112

This page is general information. It is not a diagnosis and does not replace a doctor who knows your history. Medfold keeps your records organised; it does not interpret them.

Sources