A peptic ulcer in the stomach is called a gastric ulcer. One that is in the duodenum is called a duodenal ulcer.