A stomach ulcer, also called a gastric ulcer, is an open sore on the lining of your stomach. Stomach ulcers develop when the stomach's protective mucosal lining breaks down, allowing digestive acids to damage the underlying tissue, forming an ulcer. Treatment for stomach ulcers depends on the underlying cause.