Ulcers are open sores that can occur on the skin or mucous membranes of the body. The most common types are gastric ulcers, which occur in the stomach, and peptic ulcers, which occur in the lining of the stomach or the small intestine. These ulcers are often the result of an imbalance between digestive fluids in the stomach and intestine.