This page also covers sores in the intestine (duodenal ulcers).
The main symptom of a stomach ulcer is tummy (abdominal) pain.
The pain:
Other symptoms of a stomach ulcer include indigestion, heartburn (a burning sensation in your chest), bloating and feeling or being sick.
Tummy pain is common and can be caused by lots of different things.
Find out about possible causes of tummy pain and stomach ache
You have symptoms of a stomach ulcer and:
You can call 111 or get help from 111 online.
Do not drive to A&E. Ask someone to drive you or call 999 and ask for an ambulance.
Bring any medicines you take with you.
The main causes of stomach ulcers are:
Stomach ulcers are also more common in people who smoke, and the risk of getting one increases as you get older.
If a GP thinks you might have a stomach ulcer, they may arrange some tests to check what's causing your symptoms.
These tests may include:
The GP may also ask to weigh you and feel your tummy.
You may also be referred for a gastroscopy (where a long, thin, flexible tube with a small camera inside is passed into your mouth and down into your stomach).
Treatment for a stomach ulcer depends on what's causing it.
You may be offered:
Treatment usually lasts from 1 week to 2 months, depending on what's causing your ulcer. You may need tests after treatment to make sure it's worked.
If your symptoms come back after treatment, speak to a GP. You may need to try a different medicine or keep taking medicine for longer.
A doctor may also recommend:
After you've seen a GP, there are things you can do to help ease your stomach ulcer symptoms and reduce the risk of a stomach ulcer coming back.
eat smaller meals
eat your evening meal 3 to 4 hours before going to bed
try to keep to a healthy weight
take steps to manage stress
do not take anti-inflammatory painkillers (such as ibuprofen) without speaking to a doctor first
do not have food or drink that triggers your symptoms, which can include fatty or spicy foods, coffee and chocolate
do not smoke
do not drink too much alcohol
NHS Better Health has free tools and support to help you lose weight, get active, quit smoking and drink less.
It's important to get treatment for a stomach ulcer. If not treated, a stomach ulcer can lead to serious problems that may be life-threatening.
These include: