At a glance
- What it is
- A sore in the lining of the stomach or duodenum
- Most common causes
- Helicobacter pylori infection and NSAID medicines
- Possible symptoms
- Upper abdominal burning or discomfort, feeling full early, nausea and bloating
- Without symptoms
- Some people have no symptoms
- Tests
- H. pylori breath or stool tests; sometimes upper gastrointestinal endoscopy
- Treatment
- Antibiotics for H. pylori; acid-reducing medicines such as proton pump inhibitors
Where ulcers form and why
A peptic ulcer is a sore in the lining of the stomach or the duodenum. The two locations are alternatives, and an ulcer is not necessarily present in both at once. Helicobacter pylori infection and NSAID medicines are the most common causes. NSAIDs such as ibuprofen can make the stomach lining more prone to damage and ulcers. That is a risk, not a universal outcome.
Symptoms
Symptoms can include burning or discomfort in the upper abdomen, feeling full early, nausea and bloating. Some people have no symptoms. Food can relieve pain briefly in some people and worsen it in others, so meal timing cannot diagnose an ulcer.
Testing and treatment
Evaluation may use breath or stool tests for H. pylori and sometimes upper gastrointestinal endoscopy. Treatment targets the cause. It includes antibiotics for H. pylori infection and acid-reducing medicines such as proton pump inhibitors. A clinician may review or change NSAID medicines, and the infographic does not direct anyone to change prescribed medicines independently. Follow-up tests may be needed to confirm that treatment has worked.
The place of diet
Diet is not considered an important primary cause of peptic ulcers or an important primary treatment for them. Foods may worsen symptoms for some people, and they do not replace treating H. pylori or medication causes.
Complications and warning signs
Ulcers may cause bleeding or perforation. These are possible complications, not present in every ulcer. Vomiting blood or coffee-ground material, black tarry stool, sudden severe persistent abdominal pain or fainting needs urgent or emergency assessment. The infographic provides general education, not a diagnosis or an individualized treatment plan.
This page is general information for learning. It is not a diagnosis or medical advice. Talk to a health professional about your own situation.
Research behind the infographic: the working notes
These are the notes the picture was checked against. Some are written as instructions to the illustrator.
- A peptic ulcer is a sore in the lining of the stomach or duodenum; the two locations are alternatives, not necessarily simultaneous. [1] [3]
- Helicobacter pylori infection and NSAID medicines are the most common causes of peptic ulcers. [1] [2] [3]
- NSAIDs such as ibuprofen can make the stomach lining more prone to damage and ulcers; this is a risk, not a universal outcome. [2]
- Symptoms can include upper abdominal burning or discomfort, feeling full early, nausea and bloating; some people have no symptoms. [1] [2] [3]
- Food can relieve pain briefly in some people and worsen it in others; meal timing cannot diagnose an ulcer. [2]
- Evaluation may use H. pylori breath or stool tests and sometimes upper gastrointestinal endoscopy. [1] [3]
- Treatment targets the cause, including antibiotics for H. pylori infection and acid-reducing medicines such as proton pump inhibitors. [3]
- A clinician may review or change NSAID medicines; an infographic should not direct independent changes to prescribed medicines. [1] [3]
- Follow-up tests may be needed to confirm treatment has worked. [3]
- Ulcers may cause bleeding or perforation; these are possible complications, not present in every ulcer. [1] [3]
- Vomiting blood or coffee-ground material, black tarry stool, sudden severe persistent abdominal pain or fainting needs urgent or emergency assessment. [2] [3]
- Diet is not considered an important primary cause or treatment for peptic ulcers; foods may worsen symptoms for some people and do not replace treating H. pylori or medication causes. [1] [3]
- This infographic provides general education, not a diagnosis or an individualized treatment plan. [1] [3]
Sources
Sources checked October 15, 2026.
- Peptic Ulcers (Stomach or Duodenal Ulcers) — National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK)
- Symptoms & Causes of Peptic Ulcers — National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK)
- Stomach ulcer — National Health Service (NHS)
Archive note: Verified against NIDDK peptic-ulcer guidance and NHS stomach-ulcer guidance: https://www.niddk.nih.gov/health-information/digestive-diseases/peptic-ulcers-stomach-ulcers https://www.niddk.nih.gov/health-information/digestive-diseases/peptic-ulcers-stomach-ulcers/symptoms-causes https://www.nhs.uk/conditions/stomach-ulcer/ Scope: ulcer anatomy, common causes, symptoms, evaluation, treatment and warning signs.
About the picture
This infographic is an AI-generated illustration, made with openai/gpt-image-2.5-sunburst on October 15, 2026 for the Jez237 AI Images archive. It is not a photograph, and small details in the artwork may be imperfect; where the picture and the text differ, go by the text and the sources. The prompt that made it is on its card in Health conditions.
