Find Information About:

Drugs & Supplements

Get information and reviews on prescription drugs, over-the-counter medications, vitamins, and supplements. Search by name or medical condition.

Pill Identifier

Pill Identifier

Having trouble identifying your pills?

Enter the shape, color, or imprint of your prescription or OTC drug. Our pill identification tool will display pictures that you can compare to your pill.

Get Started

My Medicine

Save your medicine, check interactions, sign up for FDA alerts, create family profiles and more.

Get Started

WebMD Health Experts and Community

Talk to health experts and other people like you in WebMD's Communities. It's a safe forum where you can create or participate in support groups and discussions about health topics that interest you.

  • Second Opinion

    Second Opinion

    Read expert perspectives on popular health topics.

  • Community


    Connect with people like you, and get expert guidance on living a healthy life.

Got a health question? Get answers provided by leading organizations, doctors, and experts.

Get Answers

Sign up to receive WebMD's award-winning content delivered to your inbox.

Sign Up

Font Size

What Is Peptic Ulcer Disease?

How Are Ulcers Diagnosed?

Your doctor may suspect you have an ulcer just by talking with you about your symptoms. However, to confirm the diagnosis one of several tests should be taken. First, your doctor may ask you to take an acid-blocking medication, such as those used to treat heartburn, for a short period of time to see if symptoms improve.

If needed, your doctor may recommend a procedure called an upper endoscopy. It involves inserting a small, lighted tube (endoscope) through the throat and into the stomach to look for abnormalities. This procedure is usually given if you are having severe or recurring symptoms of ulcers.

Doctors sometimes treat for ulcers without confirming the diagnosis using endoscopy.

How Are Ulcers Treated?

If not properly treated, ulcers can lead to serious health problems. There are several ways in which ulcers can be treated, including making lifestyle changes, taking medication, and/or undergoing surgery.

Lifestyle Changes to Treat an Ulcer

To treat an ulcer, first eliminate substances that can be causing the ulcers. If you smoke or drink alcohol, stop. If the ulcer is believed to be caused by the use of NSAIDs, they need to be stopped.

Ulcer Medications

Ulcer medications can include:

  • Proton pump inhibitors (PPI). Proton pump medications reduce acid levels and allow the ulcer to heal. They include dexlansoprazole (Dexilant), esomeprazole (Nexium), lansoprazole (Prevacid), omeprazole (Prilosec), pantoprazole (Protonix), rabeprazole (Aciphex), and omeprazole/sodium bicarbonate (Zegerid).
  • Antibiotics . If you have H. pylori infection, then antibiotics are also used. There are multiple combinations of antibiotics that are taken for one to two weeks along with a PPI. Bismuth is also part of some treatment regimens.
  • Upper endoscopy . Some bleeding ulcers can be treated through an endoscope.
  • Surgery. Sometimes an operation is needed if the ulcer has created a hole in the wall of the stomach, or if there is serious bleeding that can't be controlled with an endoscope.

How Can I Prevent Ulcers?

To reduce the risk of developing ulcers:

  • Don't smoke.
  • Avoid alcohol.
  • Don't overuse aspirin and/or NSAIDs.
  • If you have symptoms of an ulcer, contact your health care provider.

WebMD Medical Reference

Reviewed by Melinda Ratini, DO, MS on December 16, 2014
1 | 2

Today on WebMD

man holding his stomach
Get the facts on common problems.
blueberries in a palm
Best and worst foods.
woman shopping
Learn what foods to avoid.
fresh and dried plums
Will it help constipation?
top foods for probiotics
couple eating at cafe
sick child
Woman blowing bubble gum

Send yourself a link to download the app.

Loading ...

Please wait...

This feature is temporarily unavailable. Please try again later.


Now check your email account on your mobile phone to download your new app.

Woman with crohns in pain
Woman with stomach pain
diet for diverticulitis
what causes diarrhea