If you have a stomach ulcer, your treatment will depend on what caused it. With treatment, most ulcers heal in a month or two. If your stomach ulcer is caused by a Helicobacter pylori (H. pylori) bacterial infection, a course of antibiotics and a medication called a proton pump inhibitor (PPI) is recommended.

This is also recommended if it's thought your stomach ulcer is caused by a combination of an H. pylori infection and non-steroidal anti-inflammatory drugs (NSAIDs). If your stomach ulcer is just caused by taking NSAIDs, a course of PPI medication is recommended.

Your use of NSAIDs will also be reviewed, and taking an alternative painkiller may be advised. An alternative type of medication, known as H2-receptor antagonists, is occasionally used instead of PPIs.

Sometimes you may be given additional medication called antacids to relieve your symptoms in the short term. You may have a repeat gastroscopy after 4 to 6 weeks to check that the ulcer has healed.

There aren't any special lifestyle measures you need to take during treatment, but avoiding stress, alcohol, spicy foods and smoking may reduce your symptoms while your ulcer heals.

Antibiotics

If you have an H. pylori infection, you'll usually be prescribed a course of 2 antibiotics, which each need to be taken twice a day for a week.

The antibiotics most commonly used are amoxicillin, clarithromycin and metronidazole.

The side effects of these antibiotics are usually mild and can include:

feeling and being sick
diarrhoea
a metallic taste in your mouth
You'll be retested at least 4 weeks after finishing your antibiotic course has been completed to see whether there are any H. pylori bacteria left in your stomach.

If there are, a further course of eradication therapy using different antibiotics may be given.

Proton pump inhibitors (PPIs)

PPIs work by reducing the amount of acid your stomach produces, preventing further damage to the ulcer as it heals naturally. They're usually prescribed for 4 to 8 weeks. Omeprazole, pantoprazole and lansoprazole are the PPIs most commonly used to treat stomach ulcers.

Side effects of these are usually mild, but can include:


  • headaches
  • diarrhoea or constipation
  • feeling sick
  • tummy (abdominal) pain
  • dizziness
  • rashes

These should pass once treatment has been completed.

H2-receptor antagonists

Like PPIs, H2-receptor antagonists work by reducing the amount of acid your stomach produces.

Ranitidine is the most widely used H2-receptor antagonist for treating stomach ulcers.

Side effects are uncommon, but may include:

  •  diarrhoea
  • headaches
  • dizziness
  • rashes
  • tiredness
  • Antacids and alginates

All of the above treatments can take several hours before they start to work, so your GP may recommend taking additional antacid medication to neutralise your stomach acid and provide immediate, but short-term, symptom relief.

Some antacids also contain a medicine called an alginate, which produces a protective coating on the lining of your stomach.

These medications are available to buy over the counter at pharmacies. Your pharmacist can advise on which is most suitable for you. Antacids should be taken when you experience symptoms or when you expect them, such as after meals or at bedtime.

Antacids containing alginates are best taken after meals.

Side effects of both medications are usually minor and can include:

  • diarrhoea or constipation
  • wind (flatulence)
  • stomach cramps
  • feeling and being sick
  • Reviewing NSAID use

If your stomach ulcer has been caused by taking NSAIDs, your GP will want to review your use of them. You may be advised to use an alternative painkiller not associated with stomach ulcers, such as paracetamol. Sometimes an alternative type of NSAID that's less likely to cause stomach ulcers, called a COX-2 inhibitor, may be recommended.

If you're taking low-dose aspirin (an NSAID) to reduce your risk of blood clots, your GP will tell you whether you need to continue taking it. If you do need to keep taking it, long-term treatment with a PPI or H2-receptor antagonist may be prescribed alongside the aspirin to try to prevent further ulcers.

It's important to understand the potential risks associated with continued NSAID use. You're more likely to develop another stomach ulcer and could experience a serious complication, such as internal bleeding.

Medical treatments for stomach ulcers will vary based on what is causing the ulcer. If taking NSAIDs caused the ulcer, a doctor will likely advise the person to stop or reduce their use of those drugs. People can switch to another medication for pain.

A doctor may prescribe proton-pump inhibitors (PPIs) to reduce stomach acid and protect the lining of the stomach. They cannot kill bacteria, but they can help fight an H. pylori infection. Some examples include Nexium, Prilosec, and Prevacid. A doctor may also prescribe histamine receptor blockers. These prevent the stomach from producing too much acid. Some examples include Zantac and Pepcid.

Also, a doctor may prescribe a protectant called sucralfate (Carafate). This helps prevent further damage to the area around the ulcer. When an H. pylori infection caused the ulcer, a doctor may also prescribe antibiotics. Since H. pylori can be hard to kill, a person must take all doses exactly as prescribed even after symptoms go away.

Often, a doctor will combine several medications and therapies when treating an ulcer. Combination therapies help address pain, prevent further damage, and cure any infection.

Conclusion

A person may be able to find relief with some home remedies. But, people should see their doctor to find out the cause and receive medical treatment. A doctor can create a treatment plan to help treat the ulcer. At-home remedies may help prevent ulcers developing in the future and naturally help ease symptoms.