A peptic ulcer in the stomach is called a gastric ulcer. One that is in the duodenum is called a duodenal ulcer. Peptic ulcers also may develop just above your stomach in the esophagus. But this is rare.