Cowboy magic has this stain remover that comes in a spray. I used to have it for the white socks on one of my old horses. I have since only bought horses without white, one reason being for the stains
I don't remember what it's called but carrying some last minute sprays of that kind will help.
That or buy a horse that has no white