A peptic ulcer is an open sore or raw area in the lining of the stomach or intestine. The most common cause of ulcers is infection of the stomach by bacteria called Helicobacter pylori (H pylori).
There are two types of peptic ulcers:
Gastric ulcer — occurs in the stomach
Duodenal ulcer — occurs in the first part of the small intestine
Causes
Swollen and inflamed tissue (gastritis)
Most ulcers occur in the first layer of the inner lining. A hole in the stomach or duodenum is called a perforation. This is a medical emergency.
The most common cause of ulcers is infection of the stomach by bacteria called Helicobacter pylori (H pylori). Most people with peptic ulcers have these bacteria living in their digestive tract. Yet, many people who have these bacteria in their stomach do not develop an ulcer.
The following factors raise your risk for peptic ulcers:
Drinking too much alcohol
Regular use of aspirin, ibuprofen, naproxen, or other nonsteroidal anti-inflammatory drugs (NSAIDs)
Smoking cigarettes or chewing tobacco
Being very ill, such as being on a breathing machine
Radiation treatments
Stress
A rare condition, called Zollinger-Ellison syndrome, causes stomach and duodenal ulcers.