How do trainers stretch a race Horse's muscles?

You stretch their front legs by pulling them in front of the horse. Then you walk and jog the horse before you gallop to warm up their muscles.