Omeprazole (brand names Gastrogard? and Prilosec?) is used in the treatment of ulcers occurring in the stomach and upper part of the small intestine in dogs and cats. It is also used to treat or prevent gastric erosions caused by drugs such as nonsteroidal anti-inflammatory drugs (NSAIDs).