Ulcers are small, open craters or sores that develop in the lining of the stomach or the duodenum, the first section of the small intestine. It is a hole or break in the protective lining of the esophagus, the stomach or the duodenum. An ulcer is classified as gastric, if present in the stomach, and duodenal, if present in the duodenum.