India
Gastroenterology · 5 min read

Peptic ulcer: symptoms, causes, tests and treatment

What stomach and duodenal ulcers are, the two main causes — H. pylori and painkillers — how they are tested for and healed, and the danger signs.

Also known as: Duodenal Ulcer; Gastric ulcer; Stomach Ulcer; Ulcer; Ulcers

Written by The Doctor Index
Original article for readers in India · updated 01 Oct 2026
01 Oct 2026
Clinically reviewed
Nalina Shanthi, Registered Nurse · Karnataka State Nursing Council KNC144008
12 Oct 2026
This is not medical advice. If symptoms are severe, sudden or getting worse, call 112 (or 108 for an ambulance) or go to the nearest emergency department.

What a peptic ulcer is

A peptic ulcer is an open sore in the lining of the stomach (a gastric ulcer) or the first part of the small intestine, the duodenum (a duodenal ulcer). The lining normally protects itself from the strong acid the stomach makes. When that protection breaks down, acid eats into the lining and an ulcer forms.

Most ulcers heal well with treatment, and once the cause is dealt with they usually do not come back. Left untreated, an ulcer can bleed, burn a hole through the wall (perforation) or scar and narrow the stomach outlet — all of which are serious.

Symptoms

  • Burning upper abdominal pain, in the pit of the stomach, often between meals or at night
  • Pain that may be eased — or worsened — by food or antacids
  • Indigestion, bloating and belching
  • Nausea, and sometimes vomiting
  • Loss of appetite and weight loss

Some ulcers cause no pain at all, particularly in older people and those taking painkillers, and are found only when they bleed. Signs of bleeding are black stools that look tarry, vomiting blood or material like coffee grounds, and tiredness or breathlessness from anaemia.

Causes and who is at risk in India

Two causes account for most ulcers:

  • Helicobacter pylori (H. pylori) — a bacterium that lives in the stomach lining. Infection is usually picked up in childhood and is very common in India. Most infected people never get an ulcer, but it is the main cause of duodenal ulcers.
  • Painkillers known as NSAIDs — such as ibuprofen, diclofenac, naproxen and aspirin, including low-dose aspirin for the heart. These are widely available without prescription and are often taken for body pain, joint pain or headache for long periods.

The risk is higher if you take these painkillers with steroids or blood thinners, are older, smoke or drink heavily, or have had an ulcer before. Stress and spicy food do not cause ulcers, though they may make symptoms feel worse. Rarely, ulcers are caused by a stomach cancer or a hormone-producing tumour, which is why ulcers in the stomach are checked to make sure they heal.

How it is diagnosed

  • Urea breath test — you drink a solution and breathe into a bag; it detects active H. pylori infection.
  • Stool antigen test — detects H. pylori in a stool sample.
  • Upper GI endoscopy — a thin camera passed through the mouth under light sedation shows the ulcer directly.
  • Biopsy — small samples taken during endoscopy test for H. pylori and rule out cancer.

Acid-reducing medicines and antibiotics can make H. pylori tests falsely negative, so your doctor may ask you to stop them for a while before testing — only do so on their advice. Blood antibody tests show past infection and are not reliable for confirming current infection. Endoscopy is advised for people with warning signs, older people with new symptoms, and those whose symptoms do not settle.

Which doctor to see

A general physician can test for and treat H. pylori and manage uncomplicated symptoms. A gastroenterologist performs endoscopy, treats bleeding ulcers, and manages ulcers that do not heal or keep coming back. Perforation or uncontrolled bleeding may need a surgeon.

You can find gastroenterologists in Bengaluru or general physicians in Bengaluru on The Doctor Index, each with a registration you can check.

Treatment

Treatment heals the ulcer and removes the cause so that it does not return.

  • Proton pump inhibitors strongly reduce stomach acid and let the ulcer heal, usually over several weeks.
  • H. pylori eradication therapy — a combination of antibiotics with an acid-reducing medicine, taken together for one to two weeks. Take every dose exactly as prescribed: missed doses are a major reason the bacteria survive and become resistant. A test afterwards confirms that the infection has gone.
  • Stopping NSAIDs where possible. If you need a painkiller, ask your doctor about safer options; if you must continue an NSAID or aspirin for your heart, your doctor may add a stomach-protecting medicine. Do not stop prescribed aspirin or blood thinners on your own.
  • Endoscopic treatment to stop a bleeding ulcer, using injections, clips or heat through the endoscope. Surgery is now rarely needed except for perforation or bleeding that cannot be controlled.

If you live with arthritis or another painful long-term condition, do not simply switch from one painkiller to another bought over the counter. Ask your doctor to review all the pain medicines you take, including gels and combination tablets, because several common products contain NSAIDs under different brand names. Physiotherapy, exercise and other treatments can sometimes reduce the need for them.

A stomach ulcer is usually checked with a repeat endoscopy after treatment to confirm it has healed. Antacids and milk may ease pain briefly but do not heal ulcers.

Living with an ulcer and preventing another

  • Complete the full H. pylori treatment and keep the follow-up test
  • Avoid buying painkillers over the counter; tell every doctor and pharmacist you have had an ulcer
  • Stop smoking and cut down on alcohol
  • Ask whether family members with symptoms should be tested for H. pylori

When it is an emergency

Call 112 or 108, or go to the nearest emergency department, for:

  • Vomiting blood or material that looks like coffee grounds
  • Black, tarry or maroon stools
  • Sudden, severe abdominal pain, especially with a rigid, board-like tummy
  • Fainting, dizziness, a fast heartbeat or cold, clammy skin
  • Repeated vomiting and inability to keep food down

Questions to ask at your appointment

  • What caused my ulcer — H. pylori, painkillers, or something else?
  • Do I need an endoscopy?
  • How long should I take acid-reducing medicine?
  • How will we know the H. pylori has gone?
  • Which painkillers are safe for me in future?
  • Should my other medicines, such as aspirin or blood thinners, be changed?

Common questions

Questions people ask

Can spicy food or stress cause an ulcer?
No. Most ulcers are caused by H. pylori infection or by painkillers called NSAIDs. Spicy food, stress and irregular meals can make indigestion feel worse but do not cause ulcers themselves. Treating the real cause is what prevents ulcers coming back.
Will my ulcer come back?
Once H. pylori has been cleared and NSAIDs have been stopped or protected against, ulcers rarely return. They can recur if the infection was not fully treated, if NSAIDs are restarted without protection, or if you continue to smoke.
Is it safe to take acid-reducing tablets long-term?
For healing an ulcer, they are usually taken for a few weeks. Some people, such as those who must keep taking aspirin or NSAIDs, need them longer. Long-term use should be reviewed regularly with your doctor rather than continued indefinitely on your own.
Should my family be tested for H. pylori?
Infection often spreads within families, usually in childhood. Routine testing of everyone is not usually needed, but relatives with ongoing upper abdominal symptoms, or a family history of stomach cancer, should ask their doctor about testing.
Find a doctor for Peptic Ulcer

This condition is usually assessed by a gastroenterologist. Every profile shows the doctor’s registration and what has been checked.

Gastroenterologists in Bangalore

A few gastroenterologists listed on The Doctor Index. They are shown because of their speciality, not a stated interest in Peptic Ulcer; ask the clinic whether the doctor sees it.

Dr Praveen Kumar T N
Gastroenterologist
11 yrs since practice start · Kannada, English, Hindi, Telugu
Manipal Hospital Yelahanka, Yelahanka · Fee not confirmed · In person
Registration verifiedQualification not yet checkedPractice not yet confirmedUnclaimed
Dr Rohit N Maidur
Gastroenterologist · Consultant - Medical Gastroenterology
15 yrs since practice start · Kannada, English, Hindi, Telugu
Manipal Hospital Varthur Road, Whitefield · Fee not confirmed · In person
Registration verifiedQualification not yet checkedPractice not yet confirmedUnclaimed
Dr Sanjana Gopal
Gastroenterologist · Consultant - Surgical Gastroenterology
Experience not stated · English, Kannada, Hindi, Telugu
Manipal Clinic Indiranagar, Indiranagar · Fee not confirmed · In person
Registration verifiedQualification not yet checkedPractice not yet confirmedUnclaimed
Dr Sanjeev Rohatgi
Gastroenterologist
25 yrs since practice start · English, Hindi, Punjabi
Manipal Clinic Budigere, Budigere · Fee not confirmed · In person
Registration verifiedQualification partly pendingPractice not yet confirmedUnclaimed
Dr Shivakumar Varakanahalli
Gastroenterologist · Consultant - Medical Gastroenterology, Consultant - Gastrointestinal Science
Experience not stated · English, Hindi, Kannada
Aster Whitefield Hospital, Whitefield · Fee not confirmed · In person
Registration verifiedQualification not yet checkedPractice not yet confirmedUnclaimed

All gastroenterology conditions →

Practical reading

All posts

Sources

Peptic ulcer: symptoms, causes, tests and treatment is original text by The Doctor Index; the compiled source draft was used for research. Source: MedlinePlus, National Library of Medicine. Orphadata Science: Free access data from Orphanet. © INSERM 1999; July 2026 data, CC BY 4.0. This product uses the Human Phenotype Ontology (hp/releases/2026-09-01). Only sources listed for this article apply. Source material has been selected and arranged; HPO definitions are reproduced without alteration. No source organisation endorses this compilation. Köhler S et al. The Human Phenotype Ontology project: linking molecular biology and disease through phenotype data. Nucleic Acids Research 2014;42(D1):D966–D974. doi:10.1093/nar/gkt1026.

General information, not advice about your situation. Errors can be reported through the corrections process. Reference TDI-C-1826.