How Peptic Ulcers Are Treated

6 Lifestyle Changes and Ulcer Treatment Options You Should Know

A peptic ulcer is a sore or lesion that forms in the lining of the stomach or duodenum, which is the first part of the small intestine. It is one of the most common gastrointestinal tract disorders seen by doctors, and an estimated 5 to 10 percent of all people will experience one in their lifetime.

Peptic ulcers are caused by Helicobacter pylori (H. pylori), a bacteria that lives in the mucous lining of the stomach and intestine. Symptoms include pain, discomfort, heartburn, nausea, or gas, though some people may not experience any symptoms at all.

Treatment of peptic ulcers include antibiotics to clear H. pylori, prescription and over-the-counter medicines to manage symptoms, and lifestyle modifications to help ulcers heal.


If you are diagnosed with an ulcer, your doctor will likely test to confirm H. pylori is present before determining a course of treatment. There are a few different types of medications your doctor might prescribe.


If H. pylori is found in your digestive tract, your doctor may prescribe a short-term course of antibiotics, usually a two-week treatment. Antibiotics are used to kill the bacterium and may vary depending on the current antibiotic resistance rate in your area. 

Common antibiotics used to treat peptic ulcers include: 

  • Amoxil (amoxicillin)
  • Biaxin (clarithromycin)
  • Flagyl (metronidazole)
  • Tindamax (tinidazole) 
  • Tetracycline HCL (tetracycline) 
  • Levaquin (levofloxacin)

Side effects of antibiotics are typically mild and may include vomiting, nausea, diarrhea, bloating, indigestion, and loss of appetite.


These are acid-suppressing drugs that most doctors treat ulcers with. They reduce the amount of acid the stomach produces by blocking histamine, a powerful stimulant of acid secretion. They reduce pain significantly after several weeks.

For the first few days of treatment, doctors often recommend also taking an antacid to relieve pain. The treatment initially lasts six to eight weeks.

Most ulcers caused by H. pylori do not recur following successful eradication. However, for some patients, their ulcers return, and they must continue maintenance therapy for years. H2-blockers are used to treat both stomach and duodenal ulcers. These are Tagamet (cimetidine), Zantac (ranitidine), and Pepcid (famotidine).

Proton Pump Inhibitors (PPIs)

Proton pump inhibitors change the stomach's production of acid by more completely blocking it by stopping the stomach's acid pump—the final step of acid secretion. Prilosec (omeprazole) and has been used for short-term treatment of ulcer disease. Similar drugs, including Prevacid (Iansoprazole), may also be used.

Mucosal Protective Medications

Mucosal protective medications protect the stomach's mucous lining from acid, but these protective medications do not inhibit the release of stomach acid. Instead, they shield the stomach's mucous lining from the damage of the acid.

Two commonly prescribed protective agents are:

  • Carafate (Sucralfate): This medication adheres to the ulcer, producing a protective barrier that allows the ulcer to heal and inhibits further damage by stomach acid. Sucralfate is approved for short-term treatment of duodenal ulcers and for maintenance treatment.
  • Cytotec (Misoprostol): This synthetic prostaglandin, a substance naturally produced by the body, protects the stomach lining by increasing mucus and bicarbonate production and by enhancing blood flow to the stomach. It is approved only for the prevention of NSAID-induced ulcers.

Over-the-Counter (OTC) Therapies

The first line of treatment for many people with ulcers are OTC medications to relieve symptoms. Two common non-prescription medications are:

  • Antacids: Tums, Alka-Seltzer, Milk of Magnesia, Maalox, Mylanta, and Rolaids are over-the-counter antacids that offer temporary relief from ulcer pain by neutralizing stomach acid. They may also have a mucosal protective role.
  • Bismuth Subsalicylate: Sold under the brand name Pepto-Bismal, bismuth subsalicylate has both a protective effect and an antibacterial effect against H. pylori. Used to treat digestive disorders since the early 1900s, Pepto-Bismal comes as a liquid, tablet, or chew tabs.

Home Remedies and Lifestyle

While medication is likely necessary to heal peptic ulcers, there are a few things you can do at home to help relieve symptoms and help to speed healing.

Reduce Stress

Research shows people who are under stress are more likely to develop peptic ulcers. 

In fact, a 2016 study published in the journal BMC Gastroenterology tracked 17,525 residents of a community in Denmark found people with the highest level of perceived everyday life stress were at greater risk for peptic ulcer.

Learning to manage your stress in healthier ways can help reduce uncomfortable peptic ulcer symptoms and help your body heal. Mind-body exercises, such as deep breathing, meditation, yoga, tai chi, or massage are tools that can help to reduce your stress. 

Some people also find that working one-on-one with a therapist can help them to learn better coping mechanisms to alleviate anxieties, worries, and negative thinking, helping ulcers to heal.

Quit Smoking

Smoking has been shown to delay ulcer healing and has been linked to ulcer recurrence. Therefore, if you smoke, you should try to quit.

Avoid Alcohol

Drinking alcohol can inhibit ulcer healing and exacerbate symptoms. That's because alcohol increases the production of stomach acid, which will irritate an ulcer. Alcohol also relaxes the lower esophageal sphincter (LES), allowing stomach contents to reflux back up into the esophagus. If you still want to consume alcohol, find out how and when to consume alcohol when you suffer from heartburn.

Modify Your Diet

In the past, doctors advised people with peptic ulcers to avoid spicy, fatty, and acidic foods. However, since the discovery that H. pylori is the underlying cause of ulcers and effective medications to treat infection, a bland diet is no longer recommended.

Some people who have peptic ulcers can eat whatever they want with no problems. For many others, however, eating certain foods can cause irritation, excessive acid production, and heartburn.

While eating a diet of bananas, bread, and rice, isn't going to help your condition in the long term, eating foods rich in flavonoids or polyphenols may have protective effects.

According to a scientific review published in the Journal of Pharmacy & Bioallied Sciences, foods that contain polyphenolic compounds such as quercetin—found in olive oil, grapes, dark cherries, and dark berries such as blueberries, blackberries, and bilberries—and cinnamic acid—found in olive oil, strawberries, and cranberries—can prevent and reduce some ulcers.

Adding yogurt, kefir, and other fermented foods that contain live bacteria organisms called probiotics can help make the gut environment conducive to healing your ulcer by fighting H. pylori. This bacteria is a major cause of ulcers.

In general, a diet rich in vitamins and minerals will help your body. However, because of your ulcer, some foods may give you more trouble than others. Some common foods that exacerbate ulcer symptoms are coffee, milk, alcoholic beverages, and fried foods.

Surgeries and Specialist-Driven Procedures

Many times, peptic ulcers can be successfully treated with medication. In some cases, however, ulcers can be severe and cause internal bleeding requiring surgery. Surgical procedures for ulcers include:

  • Vagotomy: The vagus nerve sends messages from the brain to the stomach. A vagotomy cuts part of the nerve that controls acid-secretion, reducing stomach acid.
  • Antrectomy: The antrum is the lower part of the stomach that produces a hormone that stimulates the stomach to secrete digestive juices. An antrectomy removes the antrum. This is typically done along with a vagotomy. 
  • Pyloroplasty: The pylorus is the opening to the duodenum and small intestine. This surgery enlarges that opening enabling stomach contents to pass more freely out of the stomach. This may be done along with a vagotomy. 

Complementary Alternative Medicine (CAM)

There is limited evidence to support the use of supplements, herbs, homeopathy, and other complementary medicine methods to treat peptic ulcers and relieve symptoms. The following supplements may be effective:


Probiotics, Lactobacillus acidophilus in particular, has been shown to help suppress H. Pylori infection. 

A 2016 review article published in the journal Best Practice & Research in Gastroenterology reports probiotics can reduce H. Pylori by up to 64 percent and eradicate up to 32.5 percent. The only reported side-effect was diarrhea. However, the ideal strains, dosage, and treatment duration have not been determined and more research is needed. 

Cranberry Extract

 Supplementing with cranberry extract may also help to resolve peptic ulcers and eliminate H. Pylori infections. 

Research published in the Journal of Gastroenterology and Hepatology found cranberry extract inhibited H. pylori in the laboratory. The study authors suggest the effect is due to certain polyphenols in the fruit. 

While these results are promising, human trials are needed to confirm cranberry can help treat peptic ulcers.

Cranberry supplements contain salicylic acid and should not be used by people who are allergic to aspirin. In addition, cranberry is high in oxalates, which may increase the risk of kidney stones or other kidney disorders and should not be used by people with kidney disease. 

Cranberry may interfere with certain medications, including Coumadin (warfarin). If you are taking any medications, talk to your doctor or pharmacist before taking cranberry. 

A Word From Verywell

Living with a peptic ulcer can be uncomfortable, but there are things you can do to relieve symptoms and heal. If you think you may have an ulcer, speak to your doctor. With the right treatment plan, reduced stress, and lifestyle modifications, you should be on your way to healing soon.

Was this page helpful?

Article Sources

  1. Sumbul S, Ahmad MA, Mohd A, Mohd A. Role of phenolic compounds in peptic ulcer: An overview. J Pharm Bioallied Sci. 2011 Jul;3(3):361-7. doi:10.4103/0975-7406.84437

  2. Safavi M, Sabourian R, Foroumadi A. Treatment of Helicobacter pylori infection: Current and future insightsWorld J Clin Cases. 2016 Jan 16;4(1):5-19. doi:10.12998/wjcc.v4.i1.5

  3. Deding U, Ejlskov L, Grabas MP, et al. Perceived stress as a risk factor for peptic ulcers: a register-based cohort studyBMC Gastroenterol. 2016;16(1):140. doi:10.1186/s12876-016-0554-9

  4. Sumbul S, Ahmad MA, Mohd A, Mohd A. Role of phenolic compounds in peptic ulcer: An overview. J Pharm Bioallied Sci. 2011 Jul;3(3):361-7. doi:10.4103/0975-7406.8443.

  5. Boltin D. Probiotics in Helicobacter pylori-induced peptic ulcer disease. Best Pract Res Clin Gastroenterol. 2016;30(1):99-109. doi:10.1016/j.bpg.2015.12.003.

  6. Matsushima M, Suzuki T, Masui A, et al. Growth inhibitory action of cranberry on Helicobacter pylori. J Gastroenterol Hepatol. 2008;23 Suppl 2:S175-80. doi:10.1111/j.1440-1746.2008.05409.x.

Additional Reading

  • PennState Hershey Health Information Library. Peptic Ulcer.