Complications of stomach ulcers are relatively uncommon, but they can be very serious if they do occur.
Internal bleeding is the most common complication of stomach ulcers. It can occur when an ulcer develops at the site of a blood vessel.
The bleeding can either be:
You should visit your GP if you have persistent symptoms of anaemia. If they think you may have a stomach ulcer, they may refer you to a gastroenterologist for an examination and treatment.
Contact your GP or NHS 111 immediately, or go to your nearest accident and emergency (A&E) department, if you have symptoms of more severe bleeding.
An endoscopy will be used to identify the cause of the bleeding and treatment can be given during the endoscopy to stop the bleeding.
Sometimes specialised procedures carried out under X-ray guidance are used to stop bleeding ulcers, although surgery may occasionally be required to repair the affected blood vessel.
Blood transfusions may also be needed to replace the blood you have lost.
A rarer complication of stomach ulcers is the lining of the stomach splitting open, known as perforation.
This can be very serious because it enables the bacteria that live in your stomach to escape and infect the lining of your abdomen (peritoneum). This is known as peritonitis.
In peritonitis, an infection can rapidly spread into the blood (sepsis) before spreading to other organs. This carries the risk of multiple organ failure and can be fatal if left untreated.
The most common symptom of peritonitis is sudden abdominal pain that gets steadily worse.
If you have this type of pain, contact your GP immediately. If this isn't possible, call NHS 111 or your local out-of-hours service.
Peritonitis is a medical emergency that requires hospital admission. In some cases, surgery may be needed.
Read more about treating peritonitis.
In some cases, an inflamed (swollen) or scarred stomach ulcer can obstruct the normal passage of food through your digestive system. This is known as gastric outlet obstruction.
Symptoms can include:
An endoscopy can be used to confirm the obstruction. If the obstruction is caused by inflammation, proton pump inhibitors (PPIs) or H2-receptor antagonists can be used to reduce stomach acid levels until the swelling goes down.
If the obstruction is caused by scar tissue, surgery may be needed to treat it, although it can sometimes be treated by passing a small balloon through an endoscope and inflating it to widen the site of the obstruction.