If a horse is taken out of a race before it begins, it means they were “scratched.” If you did bet on a horse prior to it getting scratched, depending on the bet type, the sportsbook will end up refunding your bet.