Updated August 25, 2015.
If ulcers aren't treated or treatment isn't effective, serious complications may occur. The most common complications include bleeding, perforation of the stomach or duodenal walls, and obstruction of the digestive tract.
Bleeding
As an ulcer erodes the muscles of the stomach or duodenal wall, blood vessels may also be damaged, which causes the bleeding. If the affected blood vessels are small, the blood may slowly seep into the digestive tract. Over a long period of time, a person may become anemic. If a damaged blood vessel is large, bleeding is dangerous and requires prompt medical attention. The symptoms of bleeding include feeling weak and dizzy when standing, vomiting blood, or fainting. The stool may become a tarry, black color from the blood. Most bleeding ulcers can be treated endoscopically by locating the ulcer and cauterizing the blood vessel with a heating device or injecting it with material to stop bleeding. If endoscopic treatment is unsuccessful, surgery may be required.
Perforation
Sometimes an ulcer eats a hole in the wall of the stomach or duodenum.
Bacteria and partially digested food can spill through the opening into the sterile abdominal cavity (peritoneum). A perforated ulcer can cause peritonitis, an inflammation of the abdominal cavity and wall. The symptoms of a perforated ulcer include sudden, sharp, severe pain. Immediate hospitalization and surgery is usually required.
Narrowing and obstruction
Ulcers located at the end of the stomach where the duodenum is attached may cause swelling and scarring. These ulcers can narrow or close the intestinal opening, and can prevent food from leaving the stomach and entering the small intestine. As a result, a person may vomit the contents of the stomach. Endoscopic balloon dilation may be performed. The endoscopic balloon procedure uses a balloon to force open a narrowed passage. If the dilation does not relieve the problem, then surgery may be necessary.
Sources:
"Common GI Problems: Volume 1." American College of Gastroenterology. 22 Aug 2007
"H. pylori and Peptic Ulcer." NIH Publication No.
05–4225 October 2004. National Digestive Diseases Information Clearinghouse (NDDIC). 22 Aug 2007
"What I need to know about Peptic Ulcers." NIH Publication No. 05–5042 October 2004. National Digestive Diseases Information Clearinghouse (NDDIC). 22 Aug 2007
William D. Chey, M.D., F.A.C.G., A.G.A.F., F.A.C.P., Benjamin C.Y. Wong, M.D., Ph.D., F.A.C.G., F.A.C.P., "American College of Gastroenterology Guideline on the Management of Helicobacter pylori Infection." doi: 10.1111/j.1572-0241.2007.01393.x. American College of Gastroenterology. 22 Aug 2007