A peptic ulcer is a sore on the lining of your stomach, small intestine, or esophagus. A peptic ulcer in the stomac