A peptic ulcer is a round or oval sore where the lining of the stomach or duodenum has been eaten away by stomach acid and digestive juices.

Peptic ulcers can result from infection with Helicobacter pylori bacteria or from use of medications, such as aspirin or other nonsteroidal anti-inflammatory drugs (NSAIDs), that weaken the lining of the stomach or duodenum.

Discomfort caused by ulcers comes and goes and tends to be related to meals (sometimes better after eating and sometimes worse after eating).

The diagnosis of peptic ulcer disease is based on symptoms of stomach pain and on the results of an examination of the stomach with a flexible viewing tube (upper endoscopy) and of Helicobacter pylori testing.

Medications are given to reduce acid in the stomach, and antibiotics often are given to eliminate Helicobacter pylori.

Ulcers penetrate into the lining of the stomach or duodenum (the first part of the small intestine). Ulcers may range in size from several millimeters to several centimeters.

Ulcers can occur at any age, including infancy and childhood, but are most common among middle-aged adults.

Gastritis (stomach inflammation) may develop into ulcer disease.