Peptic Ulcer Treatment: Diagnosis, Outlook, and Modern Treatment Approaches

Most peptic ulcers are treated by lowering stomach acid and addressing the underlying cause, especially H. pylori infection or NSAID use. Testing matters because treatment is different for an H. pylori-related ulcer than for an ulcer caused by medications.
Key Takeaways
- Most peptic ulcers are treated by lowering stomach acid and addressing the underlying cause, especially H. pylori infection or NSAID use.
- Testing matters because treatment is different for an H. pylori-related ulcer than for an ulcer caused by medications.
- Endoscopy may be needed when symptoms are severe, persistent, or linked to bleeding, anemia, weight loss, or difficulty swallowing.
- Avoiding smoking, unnecessary NSAIDs, and excess alcohol can support healing and lower the risk of recurrence.
- Urgent medical care is needed for vomiting blood, black stools, sudden severe abdominal pain, fainting, or signs of heavy bleeding.
Peptic ulcer treatment usually focuses on healing the sore, reducing stomach acid, and correcting the cause—most often Helicobacter pylori infection or use of NSAID pain relievers. With the right diagnosis and follow-up, most ulcers improve well and many can be prevented from coming back.
Overview: what peptic ulcer treatment usually involves
Peptic ulcer treatment is usually effective when it targets both the ulcer itself and the reason it formed. In practical terms, this often means acid-suppressing medicine to allow healing, treatment for Helicobacter pylori if that bacterium is present, and stopping or reducing medicines that irritate the stomach lining, especially nonsteroidal anti-inflammatory drugs (NSAIDs) such as ibuprofen or naproxen.
A peptic ulcer is an open sore that develops in the lining of the stomach or the first part of the small intestine. Stomach ulcers are called gastric ulcers, and ulcers in the duodenum are called duodenal ulcers. These conditions are closely related and are often discussed together because the symptoms, causes, and treatment principles overlap.
Modern care is more personalized than simply giving an acid-reducing tablet. Doctors may recommend breath, stool, or tissue-based testing for H. pylori, review all pain relievers and other medicines, assess for complications such as bleeding, and decide whether an upper endoscopy is needed. This cause-based approach helps relieve symptoms, promote healing, and lower the chance that the ulcer will return.
Symptoms and how ulcers may feel

Peptic ulcers may cause a burning, gnawing, or aching pain in the upper abdomen. Some people notice discomfort between meals or during the night, while others feel bloating, early fullness, nausea, or indigestion-like symptoms. The pattern is not always reliable, so symptoms alone cannot confirm an ulcer.
Some ulcers cause only mild or vague symptoms, and a few cause no symptoms until a complication develops. Older adults, people who take NSAIDs regularly, and those with other illnesses may not experience the classic pain pattern. Because of this, ongoing upper abdominal symptoms deserve proper evaluation rather than self-diagnosis.
Warning signs can suggest bleeding or another serious problem. These include vomiting blood, vomiting material that looks like coffee grounds, black tarry stools, new weakness or fainting, shortness of breath, and sudden severe abdominal pain. These symptoms need urgent medical attention.
Ulcer symptoms can overlap with other digestive conditions, including acid reflux, gastritis, gallbladder disease, and functional dyspepsia. In some cases, doctors may also consider related digestive conditions such as gastritis when building the diagnosis and treatment plan.
Common causes and risk factors
The two leading causes of peptic ulcers are H. pylori infection and NSAID use. H. pylori is a bacterium that can weaken the protective lining of the stomach and duodenum, allowing acid to irritate the tissue. NSAIDs can reduce natural protective substances in the digestive lining, making ulcers and bleeding more likely, especially with frequent or long-term use.
Other factors may increase risk or slow healing. These include smoking, heavy alcohol use, older age, previous ulcers, serious illness, and use of certain medicines such as corticosteroids or blood thinners, particularly when combined with NSAIDs. Some people develop ulcers after major physical stress from severe illness or hospitalization, although this is a different clinical setting from the more common outpatient ulcer.
Less often, ulcers are linked to conditions that increase acid production, including Zollinger-Ellison syndrome, or to other inflammatory or infectious causes. A doctor may look for these possibilities when ulcers are recurrent, unusually severe, or not improving with standard treatment.
It is also useful to know what does not usually cause an ulcer on its own. Everyday stress and spicy foods may worsen symptoms in some people, but they are not considered the main underlying cause of most peptic ulcers. That distinction matters because effective treatment depends on identifying the real trigger.
How peptic ulcers are diagnosed
Diagnosis begins with a medical history and review of medicines, especially over-the-counter pain relievers. A doctor will ask about abdominal pain, nausea, black stools, weight loss, appetite changes, and any past history of ulcers, anemia, or bleeding. Medication review is essential because many people do not realize that common pain medicines can contribute to ulcer formation.
Testing for H. pylori is central to modern peptic ulcer treatment. Depending on the situation, doctors may use a urea breath test, stool antigen test, or tissue samples taken during endoscopy. Blood antibody tests are generally less useful for deciding current treatment because they may stay positive after a past infection has cleared.
Upper endoscopy allows direct visualization of the esophagus, stomach, and duodenum and is especially important when symptoms are persistent, the person is older, or alarm features are present. During this test, the doctor can identify an ulcer, assess for bleeding, and take biopsies when needed. This can be part of a broader endoscopy evaluation for upper digestive symptoms.
Doctors may also order blood tests to look for anemia or signs of blood loss. In selected cases, imaging and other investigations help rule out complications or alternative diagnoses. If symptoms overlap with conditions such as gastroesophageal reflux disease, the evaluation is tailored so that treatment addresses the true cause of the discomfort.
Treatment options: medicines, endoscopy, and cause-based care
The main goal of peptic ulcer treatment is to heal the ulcer while preventing further injury. Acid-lowering medicines called proton pump inhibitors are commonly used because they reduce acid strongly and give the tissue a better chance to recover. In some situations, other acid-reducing medicines or protective agents may also be used, depending on the ulcer type and the person’s overall health.
If H. pylori is found, treatment usually includes a combination of medicines designed to clear the infection and allow healing. Because resistance patterns and individual medical factors matter, the exact regimen should be chosen by a physician. Follow-up testing is often recommended after treatment to confirm that the infection is truly gone, since symptom improvement alone does not prove eradication.
If NSAIDs are the cause, the safest step is often to stop them if possible or switch to another pain-management strategy under medical guidance. Some people still need anti-inflammatory medication for arthritis or other conditions, so their doctor may balance those needs with ulcer protection and monitoring. Aspirin used for heart or stroke prevention should not be stopped without professional advice.
When an ulcer is bleeding, endoscopic treatment may be needed to stop the bleeding, and hospital-based care can be necessary. In rare cases, surgery is considered for complications such as perforation, obstruction, or bleeding that cannot be controlled by other methods. For patients needing advanced digestive evaluation or procedural care, specialists may recommend gastroenterology care and, if necessary, general surgery.
Recovery, outlook, and preventing recurrence
The outlook for most people is good when the ulcer’s cause is identified and treated appropriately. Many ulcers heal with medical therapy, especially when H. pylori is eradicated or NSAIDs are stopped. Symptoms often improve before the ulcer is fully healed, which is why completing treatment and following medical advice remain important even after a person feels better.
Prevention of recurrence is a major part of modern care. This may include avoiding unnecessary NSAID use, taking prescribed acid-protective medicine when high-risk medications cannot be avoided, and confirming H. pylori eradication when infection was present. Smoking cessation can support healing, and reducing excess alcohol may lessen irritation of the digestive tract.
Diet is individualized. No single ulcer diet is required for everyone, but it can help to avoid foods or drinks that clearly worsen symptoms, eat regular balanced meals, and stay hydrated. Some people feel better by limiting very acidic, fatty, or spicy foods, but dietary adjustments work best as symptom-guided support rather than as the main treatment.
For international patients seeking coordinated digestive evaluation, Acibadem International’s multidisciplinary specialists and JCI-accredited hospitals diagnose and treat peptic ulcer disease using evidence-based medical and endoscopic approaches.
When to seek medical care
Medical review is advisable for ongoing upper abdominal pain, recurring indigestion, nausea, unexplained vomiting, poor appetite, or symptoms that keep returning after over-the-counter remedies. Anyone with a past ulcer, long-term NSAID use, or known H. pylori infection should be especially careful not to ignore persistent symptoms.
Prompt assessment is important if symptoms are accompanied by weight loss, difficulty swallowing, repeated vomiting, fatigue, or signs of anemia. These features do not always mean something serious is present, but they do justify timely evaluation and, in some cases, endoscopy.
Urgent care is needed for vomiting blood, black or tarry stools, fainting, severe weakness, chest discomfort with suspected blood loss, or sudden intense abdominal pain. These symptoms can signal bleeding or perforation and should not be managed at home.
Frequently asked questions
What is the best peptic ulcer treatment?
The best peptic ulcer treatment depends on the cause. Most people need acid-lowering medicine, and many also need treatment for H. pylori infection or changes to NSAID use. A doctor chooses treatment based on testing, symptoms, and whether there are complications such as bleeding.
Can a peptic ulcer heal on its own?
Some ulcers may temporarily feel better, but the underlying problem often remains. Without treating the cause, the ulcer may persist, return, or lead to complications such as bleeding. Proper diagnosis and follow-up improve the chance of complete healing.
How long does peptic ulcer treatment take?
Treatment length varies with the ulcer type and its cause. Acid-suppressing therapy commonly continues for several weeks, while H. pylori treatment follows a shorter defined course and is often followed by confirmation testing. Healing may take longer if the ulcer is large, complicated, or linked to ongoing NSAID use.
Are peptic ulcers and gastritis the same thing?
No. Gastritis means inflammation of the stomach lining, while a peptic ulcer is an actual sore or break in the lining of the stomach or duodenum. The two can occur together, and they may share causes such as H. pylori infection or NSAID use.
What foods should be avoided with a peptic ulcer?
There is no universal forbidden-food list for everyone with an ulcer. It is reasonable to limit foods and drinks that clearly trigger symptoms, such as alcohol or very spicy meals for some people. Food changes can support comfort, but they do not replace medical treatment.
When is endoscopy needed for an ulcer?
Endoscopy is often recommended when symptoms are persistent, when there is bleeding or anemia, or when other warning features are present, such as weight loss or repeated vomiting. It helps confirm the diagnosis, identify complications, and collect tissue samples when needed.
References
- National Institute of Diabetes and Digestive and Kidney Diseases
- American College of Gastroenterology
- National Health Service
- Merck Manual Professional Edition
- World Gastroenterology Organisation
This article is for general information only and is not a substitute for professional medical advice. Please consult a qualified doctor about your individual situation.
Peptic Ulcer in Turkey — costs, top hospitals & a free quote
JCI-accredited · board-certified surgeons · reply within 24h
Add us as a Preferred Source to see more of our trusted health content across Google Search, AI Overviews and Discover.
Gastroenterology
Diagnosis and treatment of the digestive system and liver, with advanced endoscopy.
46 specialists in this unit








