Your veterinarian may prescribe GastroGard for a short period of time to treat a sudden illness, but they may also recommend that your horse be on omeprazole long term to prevent digestive tract ulceration.