More Gastroenterology Articles
Peptic Ulcer Treatment: Medications and Other Options
By Your Health Magazine Health Information Team
Peptic ulcer treatment usually combines medicine that reduces stomach acid with treatment of the underlying cause. An ulcer associated with Helicobacter pylori infection requires antibiotics plus acid suppression, while an ulcer related to nonsteroidal anti-inflammatory drugs (NSAIDs) may require changes to those medications and treatment with a proton pump inhibitor. Bleeding or perforated ulcers need urgent hospital care and may require endoscopy or surgery.
Choosing Treatment Based on the Cause
The two most common causes of peptic ulcers are H. pylori infection and regular use of NSAIDs, such as aspirin, ibuprofen and naproxen. Treatment is more likely to succeed when the cause is identified rather than symptoms alone being treated.
A healthcare professional may use a breath test, stool test or a biopsy collected during upper gastrointestinal endoscopy to check for H. pylori. Endoscopy can also show the ulcer’s location, evaluate bleeding and allow tissue samples to be examined when appropriate. Certain medicines can affect H. pylori test results, so follow the testing instructions provided by the clinician rather than stopping a prescription on your own.
| Likely cause or situation | Typical treatment approach |
|---|---|
| H. pylori infection | A combination of antibiotics and a strong acid-suppressing medicine, sometimes with bismuth |
| NSAID-associated ulcer | A proton pump inhibitor and clinician-guided review of the NSAID, dose or alternative pain treatment |
| Ulcer without H. pylori or NSAID use | Acid suppression plus evaluation for less common causes |
| Bleeding or another complication | Hospital treatment, often including endoscopy; surgery or another procedure may occasionally be necessary |
The National Institute of Diabetes and Digestive and Kidney Diseases provides an overview of cause-based peptic ulcer treatment.
Medications That Help an Ulcer Heal
Proton pump inhibitors
Proton pump inhibitors, or PPIs, strongly reduce stomach acid and are commonly used to heal stomach and duodenal ulcers. Examples include omeprazole, esomeprazole, lansoprazole and pantoprazole. Some are available over the counter, but an ulcer should still be evaluated because acid suppression alone will not eliminate H. pylori or address ongoing NSAID injury.
H2 blockers
H2-receptor blockers, such as famotidine, also reduce acid. They may be considered in selected situations, although PPIs generally provide stronger acid suppression. The appropriate medicine and treatment duration depend on the ulcer’s cause, location, severity and whether complications are present.
Sucralfate and bismuth
Sucralfate is a prescription protectant that attaches to damaged ulcer tissue and creates a barrier against acid and digestive enzymes. It can interfere with the absorption of certain medicines, making medication timing important. Patients who receive it can review these dietary and medication-timing considerations for sucralfate and confirm their instructions with a pharmacist.
Bismuth may be included in some H. pylori treatment combinations. It is not a substitute for the complete prescribed regimen. Antacids can temporarily relieve discomfort, but they do not eradicate H. pylori or reliably heal an ulcer by themselves. For ingredient, interaction and side-effect information, use the MedlinePlus drug information database.
Treating H. pylori Infection
H. pylori treatment uses multiple medicines because a single antibiotic is not adequate. The regimen generally combines two or more antibiotics with a PPI or another prescribed acid suppressant; some regimens also contain bismuth. Selection depends on factors such as medication allergies, previous antibiotic exposure, local resistance patterns and prior treatment attempts.
The 2024 American College of Gastroenterology guidance advises against choosing clarithromycin- or levofloxacin-containing regimens empirically unless testing shows that the bacteria are susceptible. Its H. pylori treatment guideline summary also emphasizes confirming that the infection has been eradicated.
Take every component exactly as prescribed and contact the prescriber if side effects make completing treatment difficult. Skipping doses or ending antibiotics early may allow the infection to persist and contribute to antibiotic resistance.
A test of cure is generally performed at least four weeks after antibiotic treatment ends. Breath and stool antigen tests are commonly used. Acid suppressants, antibiotics and bismuth can affect testing accuracy, so the ordering clinician should provide instructions about medication timing before the test.
Managing NSAID-Related Ulcers Safely
If an NSAID contributed to an ulcer, a clinician may consider discontinuing it, lowering the dose, shortening treatment, changing to another medication or adding protective acid suppression. The safest choice depends on why the NSAID was prescribed and the person’s cardiovascular, kidney, bleeding and pain-management needs.
Do not stop prescribed aspirin, including aspirin used after a heart attack or stroke, without medical guidance. Likewise, do not replace one NSAID with another without checking first. Combining NSAIDs or using products with hidden aspirin can increase the risk of gastrointestinal bleeding. The FDA explains how to identify and avoid risks from aspirin-containing stomach remedies.
Diet, Habits and Follow-Up
No specific “ulcer diet” has been proven to cure peptic ulcer disease. People do not routinely need to avoid spicy or acidic foods unless those foods worsen their symptoms. Smaller meals may feel more comfortable for some people, but diet should not replace medical treatment.
- Avoid smoking, which can delay healing and increase the likelihood of recurrence.
- Limit or avoid alcohol if it aggravates symptoms or increases medication-related bleeding risk.
- Review all prescription medicines, over-the-counter products and supplements with a clinician or pharmacist.
- Attend follow-up appointments and complete recommended H. pylori testing.
- Report persistent pain, recurrent symptoms, vomiting, reduced appetite or unexplained weight loss.
If an ulcer does not heal or repeatedly returns, a gastroenterologist may check for persistent H. pylori infection, continued NSAID exposure, medication adherence or a less common medical cause. Repeat endoscopy and biopsies may sometimes be appropriate.
When to Seek Care
Arrange an appointment with a primary care clinician or gastroenterologist for persistent upper abdominal pain, recurrent indigestion, unexplained nausea, early fullness, reduced appetite or symptoms that continue despite over-the-counter treatment.
Seek emergency medical care immediately for vomiting blood or material resembling coffee grounds, black tarry or bloody stools, sudden severe abdominal pain, a rigid or very tender abdomen, fainting, marked dizziness, confusion, rapid breathing or cold and clammy skin. These symptoms may indicate internal bleeding, perforation or another serious complication.
Peptic ulcers are often treatable, but an effective ulcer cure treatment must address both the damaged lining and its cause. Diagnosis, appropriate peptic ulcer disease medication and follow-up testing help reduce the chance that the ulcer will persist or return.
Other Articles You May Find of Interest...
- Peptic Ulcer Treatment: Medications and Other Options
- Feeling Nauseous All the Time but Not Throwing Up: Why?
- Stomach Pain: Common Causes and When to Seek Care
- Nausea and Stomach Cramps: Causes and Relief
- How to Relieve Bloating Quickly and Safely
- What Doctor Should You See for Stomach Problems?
- Why Does My Stomach Hurt So Bad?











