A peptic ulcer is a hole worn in the stomach or duodenal lining. Usually H. pylori or NSAIDs have broken down the lining's protection.
Most peptic ulcers are caused by H. pylori (about 95% of duodenal ulcers). NSAIDs, SSRIs, steroids and bisphosphonates also cause them. Duodenal ulcer pain eases with eating, whereas food makes gastric ulcer pain worse. The commonest complication is bleeding, often from the gastroduodenal artery, and it is treated endoscopically. NICE advises giving PPIs after endoscopy, not before. Perforation causes sudden epigastric pain that spreads, and an erect chest X-ray may show air under the diaphragm. H. pylori-positive ulcers need eradication therapy.