What Is Peptic Ulcer Disease and How Is It Treated
Peptic ulcer disease is a sore in your stomach or duodenum lining that can burn or bleed. Get clear next steps, plus labs and care with no referral.

Peptic ulcer disease is when you get an open sore (an “ulcer”) in the lining of your stomach or the first part of your small intestine (your duodenum). It can feel like a burning or gnawing pain in your upper belly, but the bigger concern is that an ulcer can bleed or, rarely, create a hole in the gut wall. Most ulcers happen for two reasons: a common stomach germ called H. pylori (Helicobacter pylori) or regular use of anti-inflammatory pain medicines like ibuprofen or naproxen (NSAIDs). The good news is that treatment usually works well once you target the cause, and many people feel noticeably better within days to weeks. In this guide, you’ll learn what symptoms are typical, what makes ulcers more likely, how clinicians confirm the diagnosis, and what treatment usually looks like. If you want help sorting out your symptoms or understanding test results, PocketMD can help you prepare for a visit and decide what to ask next.
Symptoms and signs of peptic ulcer disease
Burning upper belly pain
Ulcer pain often sits between your breastbone and belly button, and it can feel like burning, gnawing, or an “empty” ache. You might notice it comes and goes, and it can wake you up at night. The pattern is not perfect, but pain that improves briefly after eating can happen with duodenal ulcers, while stomach ulcers may feel worse with food.
Bloating, early fullness, and nausea
When the stomach lining is irritated, your stomach can feel tight and overfull even after a small meal. Nausea can show up because the stomach is inflamed and not moving food along smoothly. If you start avoiding meals because eating makes you feel sick, that’s a clue to bring up with a clinician.
Heartburn-like discomfort that doesn’t fit
Ulcer pain can overlap with reflux, so you might call it “heartburn,” but it often feels deeper and more central than typical acid reflux. You may also notice that antacids help only briefly. If you keep treating it like reflux and it keeps coming back, it’s worth considering an ulcer workup.
Dark stools or vomiting blood (bleeding)
If an ulcer bleeds, you might see black, tarry stools or vomit that looks like coffee grounds. Sometimes the bleeding is slower and you just feel wiped out, lightheaded, or short of breath because your blood count drops. Bleeding is an emergency, so get urgent care right away if you see these signs.
Unexplained weight loss or trouble eating
Some people lose weight because pain or nausea makes eating feel like a chore. Others eat more often because food temporarily soothes the burning, which can change weight in either direction. Either way, a noticeable appetite change that lasts more than a couple of weeks deserves a real evaluation, not just more over-the-counter acid medicine.
If H. pylori testing is on the table, VitalsVault labs can help you start with a $99 panel with 100+ tests, one visit, and share results with your clinician.
Results in days
Clear next steps
HSA / FSA
Causes and risk factors
H. pylori infection
H. pylori is a bacteria that can live in your stomach for years without obvious symptoms, but it weakens the lining’s defenses. That makes stomach acid more likely to injure the tissue and form an ulcer. Treating the infection matters because ulcers tend to come back if H. pylori is still there.
NSAID pain relievers (ibuprofen, naproxen)
NSAIDs reduce protective chemicals in your stomach lining, which means acid and digestive enzymes can do more damage. The risk climbs if you take them often, take higher doses, or combine them with aspirin. If you need these medicines for chronic pain, your clinician can help you balance pain control with stomach protection.
Aspirin and blood thinners
Even low-dose aspirin can irritate the stomach and increase bleeding risk if an ulcer forms. Blood thinners do not cause ulcers by themselves, but they can turn a small bleed into a serious one. If you take these medications, it’s especially important not to ignore black stools, dizziness, or new weakness.
Smoking and heavy alcohol use
Smoking slows healing and makes ulcer recurrence more likely, even when you take the right medicines. Alcohol can inflame the stomach lining and worsen pain, and heavy use raises the stakes if bleeding starts. Cutting back can make treatment work better and help you feel relief sooner.
Serious illness and high physiologic stress
In the hospital, severe infections, major surgery, and critical illness can trigger “stress ulcers,” especially in the ICU. This is a different situation than everyday life stress, even though the names sound similar. If you are caring for someone who is very ill, ask the care team whether ulcer prevention medicine is appropriate.
How peptic ulcer disease is diagnosed
Your story and a focused exam
A clinician starts by matching your symptoms to common patterns and asking about NSAIDs, aspirin, smoking, and past ulcers. They also ask about red flags such as vomiting blood, black stools, fainting, or unintentional weight loss. Those details help decide whether you can start treatment right away or need urgent testing.
H. pylori testing (breath, stool, or biopsy)
If H. pylori is suspected, testing can be done with a urea breath test or a stool antigen test, and sometimes with a biopsy during endoscopy. Some acid-suppressing medicines can make tests falsely negative, so you may be told to pause them for a short period before testing. Knowing whether H. pylori is present changes the entire treatment plan because it requires antibiotics.
Upper endoscopy to confirm and rule out complications
An upper endoscopy is a camera test that looks directly at your stomach and duodenum and can confirm an ulcer. It is often recommended if you have alarm symptoms, are older, have recurrent symptoms, or are not improving with initial treatment. If an ulcer is in the stomach, biopsies are commonly taken to rule out rare but important causes, including cancer.
Blood counts and other labs when bleeding is possible
If there is any concern for bleeding, a complete blood count can show anemia, which explains fatigue and lightheadedness. Clinicians may also check iron levels or kidney function, especially if dehydration or ongoing blood loss is suspected. Labs do not “prove” an ulcer, but they show how much it is affecting your body and how urgent treatment needs to be.
Treatment options that actually heal ulcers
Acid suppression to let tissue heal
The mainstay is strong acid suppression with a proton pump inhibitor (PPI), which lowers acid long enough for the sore to close. Many people feel symptom relief within a few days, but the lining still needs weeks to fully heal. Taking it as directed matters because “mostly” taking it can keep the ulcer irritated.
Antibiotics for H. pylori eradication
If you have H. pylori, you typically need a combination of antibiotics plus an acid-suppressing medicine for a set course. This is one of those times where finishing the full regimen is important, even if you feel better halfway through. After treatment, you usually need a follow-up test to confirm the infection is truly gone.
Stopping or adjusting NSAIDs safely
If NSAIDs helped cause the ulcer, the best “treatment” is often removing the trigger, but you still need a plan for pain. Your clinician may switch you to a different approach, add stomach-protective medicine, or weigh the risks and benefits if you must stay on an anti-inflammatory. Do not stop prescribed aspirin or blood thinners on your own, because the clotting risk can be serious.
Protective medicines for high-risk situations
Some people benefit from additional lining-protective medicine, such as sucralfate, especially when symptoms are stubborn. In hospital settings, preventive therapy may be used to reduce stress-ulcer bleeding risk. These options are usually add-ons, not replacements, for treating the underlying cause.
Treating complications like bleeding or perforation
If an ulcer is bleeding, endoscopy can sometimes stop it right away using clips, cautery, or injected medicines. Severe bleeding may require IV medications, transfusion, or hospitalization for monitoring. A perforated ulcer is a surgical emergency, and it often causes sudden severe belly pain with a rigid abdomen.
Living with peptic ulcer disease day to day
Eating in a way that reduces flare-ups
There is no single “ulcer diet,” but you can use your own symptoms as a guide. If spicy foods, coffee, or late-night meals reliably trigger burning, reducing them can make the healing period much more comfortable. Smaller meals can also help if you feel early fullness or nausea.
Using over-the-counter meds wisely
Antacids can give quick, short relief, and H2 blockers can help mild symptoms, but they may not be enough to heal a true ulcer. If you keep needing OTC products for more than a couple of weeks, that is a signal to get evaluated rather than just escalating doses. Also, be careful with “pain relievers” for stomach pain, because NSAIDs can make ulcers worse.
Tracking patterns without obsessing
A simple note in your phone about when pain hits, what you ate, and whether you took NSAIDs can reveal a clear pattern within a week. This is especially helpful if symptoms come in waves and you worry you are imagining it. Bring the pattern to your appointment, because it speeds up decision-making.
Knowing when symptoms mean “don’t wait”
Ulcer pain can be miserable but stable, while complications tend to feel different. If you develop black stools, vomit blood, fainting, severe weakness, or sudden intense belly pain, you should seek urgent care immediately. Those signs are about bleeding or perforation, not just “bad heartburn.”
Prevention and lowering your risk of recurrence
Confirm H. pylori is cleared
If H. pylori caused your ulcer, preventing a repeat often comes down to making sure the infection is truly gone. That usually means a follow-up breath or stool test after treatment, timed so medicines do not interfere. It is one extra step, but it can save you months of recurring symptoms.
Plan for pain without chronic NSAIDs
If you need frequent pain control, talk with a clinician about alternatives so you are not forced into a cycle of NSAIDs and stomach protection. Sometimes the answer is physical therapy, topical options, or a different medication strategy. The goal is to protect your stomach while still letting you function.
Quit smoking and limit alcohol during healing
Smoking makes ulcers harder to heal and more likely to return, so quitting is one of the most effective “non-medication” steps you can take. Alcohol is not the root cause for most ulcers, but it can keep the lining inflamed and make symptoms harder to control. Even a temporary break while you heal can make a noticeable difference.
Use protective therapy when risk is high
If you must take aspirin, NSAIDs, or certain other medicines long-term, your clinician may recommend ongoing acid suppression to reduce ulcer risk. This is a personalized decision based on your bleeding risk and your heart or pain needs. The right prevention plan is the one that fits your whole medical picture.
Frequently Asked Questions
What is peptic ulcer disease, exactly?
Peptic ulcer disease means you have an open sore in the lining of your stomach or your duodenum. It happens when the lining’s defenses are weakened and acid can injure the tissue. The two most common drivers are H. pylori infection and frequent NSAID use.
How do I know if my stomach pain is an ulcer or just acid reflux?
Reflux often feels like burning rising into your chest or throat, while ulcer pain is more of a deep, centered upper-belly ache that can come in waves. The symptoms overlap, so the pattern and your risk factors matter. If you have black stools, vomiting blood, or persistent pain despite OTC meds, you need medical evaluation.
Can stress cause ulcers?
Everyday life stress can worsen symptoms because it changes sleep, eating, and pain sensitivity, but it usually is not the main cause of an ulcer. True “stress ulcers” are most often seen in severe illness, such as in the ICU. For most people, the key causes to check are H. pylori and NSAID use.
How is H. pylori tested and treated?
H. pylori is commonly tested with a breath test or stool antigen test, and sometimes with a biopsy during endoscopy. Treatment usually requires a combination of antibiotics plus a strong acid-suppressing medicine for a set course. Afterward, you typically do a follow-up test to confirm the infection is cleared.
When should I go to the ER for a suspected ulcer?
Go urgently if you vomit blood, have black tarry stools, faint, feel severely weak or short of breath, or develop sudden intense belly pain. Those can be signs of significant bleeding or a perforation. If symptoms are uncomfortable but stable, you can usually arrange prompt outpatient care, but do not ignore worsening pain or new red flags.
