This medication may be used in combination with antibiotics to treat certain types of ulcers caused by bacterial infection (H. pylori).

Prilosec is also used for preventing/treating damage to the stomach and upper part of the intestine caused by non-steroidal anti-inflammatory drugs.

Prilosec directly shuts down many active pumps over time that make acid, but leaves enough acid for digestion, with one pill a day, and can relieve heartburn at the source for up to 24 hours with one pill a day.