The short explanation
Gastritis means the stomach lining is inflamed. An ulcer is a sore that has formed in the lining of the stomach or the first part of the small intestine. Both can cause burning or gnawing pain in the upper middle stomach, nausea, bloating and feeling full quickly, so you cannot reliably tell them apart from symptoms alone. The two most common causes of both are infection with a bacterium called H. pylori and regular use of painkillers such as those taken for headaches or period pain. Alcohol and smoking can add to it. A doctor may suggest a test for H. pylori and, depending on your age and symptoms, an endoscopy, which is the only way to see an ulcer directly. Both conditions usually respond well to treatment once the cause is found.
What depends on your situation
The parts of this that change from woman to woman. Uncertainty is stated, not hidden.
- Irregular meals, skipping breakfast, late-night eating and stress are common triggers for indigestion, but they are not usually the main cause of an ulcer.
- Government hospitals and many clinics can do H. pylori tests. Tell the doctor about every painkiller you use, including ones bought at a pharmacy.
What this answer cannot determine
The boundary of online education. These need a clinician who can see you.
- This cannot tell whether you have gastritis, an ulcer or simple indigestion. That needs an assessment and sometimes tests.
Questions for your clinician
Take these with you. You can add any of them to an appointment card.
- Could my symptoms be from an ulcer or gastritis?
- Should I be tested for H. pylori?
- Are the painkillers I use for period pain affecting my stomach?
- When would I need an endoscopy?
When to seek help
Clinician-approved guidance for this topic. When in doubt, being seen is never the wrong choice.
Emergency — call 112 now
- Call 112 if you vomit blood, pass black tarry stools, or get sudden severe stomach pain.
Book an appointment soon
- See a doctor within a few days if burning keeps returning after meals or you are losing weight.
Raise it at a routine appointment
- Book a routine visit to discuss your symptoms and any painkillers you use regularly.
Sources
The evidence this explanation is built on.
- Stomach ulcer NHS
- Peptic ulcers (stomach ulcers) National Institute of Diabetes and Digestive and Kidney Diseases (NIH)
- Indigestion NHS
- Helicobacter pylori infections MedlinePlus (NIH)
Who wrote and reviewed this
Every AskHer answer names its author. A clinically reviewed answer also names the clinician who signed it off — if no clinician is named below, it has not been clinically reviewed.
- Author
- AskHer Editorial (AI-assisted) AskHer's editorial team — not an individual clinician Works in English, தமிழ், हिन्दी
- Clinical reviewer
- Nobody yet No clinician has signed this answer off. That is what the “Editorially reviewed” badge means, and why it does not say “Clinically reviewed”. It was written and checked by AskHer’s editorial team against the sources listed above, and it is queued for a clinician who works in this area.
- Review status
- Editorially reviewed
- Last reviewed
- Last reviewed 11 November 2026
- Version
- 1
Correction history
Substantive changes are listed, not quietly edited away.
No corrections have been made since this answer was first published.
Did this answer your question?
Whatever you choose is filed against this version of the answer, never against you, and it is never shown as a count.
“Explain more simply” asks which part was hard to follow, so the author knows what to rewrite. “My question is different” tells the editorial team this answer missed your point, then lets you ask your own question privately. Nothing about you is sent with either.
Saving, following up and reporting are all private. Nothing you do on this page is visible to other readers or to the doctor who wrote it, unless you ask a question.

