Back to Health Guide
Patient Education1 min read

Stomach Ulcers (Peptic Ulcers)

From the هضم DIGEST medical team · GI, liver and endoscopy · Riyadh

Stomach Ulcers (Peptic Ulcers)

Overview

Stomach ulcers are open sores that develop on the lining of the stomach or the upper part of the small intestine. They occur when the protective mucus layer is reduced, allowing digestive acids to eat away at the tissue. The two most common causes are H. pylori infection and long-term use of NSAIDs (like ibuprofen).

Symptoms

1

Burning stomach pain (especially on an empty stomach)

2

Nausea or vomiting

3

Bloating or feeling full quickly

4

Heartburn

5

Dark or bloody stools (sign of bleeding ulcer)

6

Pain that improves after eating or taking antacids

Common Causes

•

H. pylori bacterial infection (most common)

•

Long-term NSAID use (ibuprofen, aspirin)

•

Excess stomach acid production

•

Smoking

•

Stress (worsens but doesn't cause ulcers)

•

Alcohol

Self-Care Tips

Get tested for H. pylori if you have persistent stomach pain

Avoid NSAIDs or take them with food and stomach-protecting medication

Quit smoking — it slows ulcer healing

Eat regular small meals

Limit spicy foods, caffeine, and alcohol

Take prescribed acid-reducing medication as directed

When to See a Doctor

See a doctor immediately if you vomit blood, notice black/tarry stools, have severe sudden abdominal pain, or feel dizzy/faint — these may indicate a bleeding or perforated ulcer.

How stomach and duodenal ulcers are diagnosed

An upper endoscopy is the most direct test: the doctor sees the ulcer, can take a biopsy to exclude cancer when a stomach ulcer is found, and can test for Helicobacter pylori. Tests for H. pylori can also be done on a stool sample or a breath test. Blood tests check for anemia from slow bleeding. Your doctor will also ask about pain relievers such as ibuprofen and aspirin, because these are a major cause of ulcers.

Treatment and healing

Most ulcers heal with treatment. Acid-reducing medicines, usually proton pump inhibitors, allow healing over weeks. If H. pylori is found, a course of combined antibiotics with acid suppression removes the infection and sharply lowers the chance of the ulcer returning. Stopping or replacing the anti-inflammatory pain relievers that caused it, and stopping smoking, are equally important. Your doctor may repeat testing to confirm the infection has cleared.

Warning signs of a bleeding or perforated ulcer

Go to emergency care for vomiting blood or material that looks like coffee grounds, black tarry stools, fainting or dizziness, or sudden severe stomach pain that does not ease. These can mean the ulcer is bleeding or has perforated and need urgent treatment, often with endoscopy.

Frequently Asked Questions

What are the symptoms of a stomach ulcer?
Burning or gnawing pain in the upper abdomen, often related to meals, bloating, nausea and feeling full quickly. Some ulcers cause no pain and are found because of bleeding or anemia.
What causes stomach ulcers?
The two main causes are Helicobacter pylori infection and anti-inflammatory pain relievers such as ibuprofen and aspirin. Smoking and heavy alcohol use raise the risk. Stress and spicy food are not the main causes.
How long does a stomach ulcer take to heal?
Most ulcers heal within a few weeks of proper treatment. Your doctor decides how long to continue medicines and whether to repeat an endoscopy, especially for stomach ulcers.
Can a stomach ulcer turn into cancer?
Most ulcers are not cancer, but a stomach cancer can look like an ulcer. That is why doctors take biopsies from stomach ulcers and sometimes repeat the endoscopy to confirm healing.
Which foods should I avoid with a stomach ulcer?
No special diet heals an ulcer, but avoiding foods that clearly worsen your pain, alcohol and smoking is sensible. Treatment of the cause matters more than diet.
When is a stomach ulcer an emergency?
Vomiting blood or coffee-ground material, black tarry stools, fainting, or sudden severe abdominal pain need emergency care.

Share this with someone who needs it:

Have questions or need a consultation?

Our GI specialists are ready to help you

Same-week appointments · WhatsApp replies during working hours