A peptic ulcer is a sore on the lining of your stomach or the first part of your small intestine (duodenum). If the ulcer is in your stomach, it is called a gastric ulcer. If the ulcer is in your duodenum, it is called a duodenal ulcer. Ulcers are fairly common: Johns Hopkins