Peptic ulcers can either be gastric that are present in the lining of the stomach or duodenal that are located in the initial part of small intestine. Rarely these ulcers can affect esophagus in that care these are termed as esophageal ulcers.