ULCERGARD (omeprazole) A non-prescription oral paste works to prevent stomach ulcers in horses. ... It works by reducing the production of acid in the horse's stomach. To help horses maintain optimal gastric health, it is recommended that ULCERGARD be administered during stressful events or activities that may induce stomach ulcers.