Stomach ulcers, also known as peptic ulcers, are open sores that develop on the lining of the stomach, small intestine, or esophagus. These ulcers occur due to a variety of causes, including excessive stomach acid, long-term use of nonsteroidal anti-inflammatory drugs (NSAIDs), or an infection with ...