Yes, they do, but only a limited number of times and under particular conditions. The jockey can use a whip only 5 times during the last 100m of the race without doing it consecutively. Also, they can use the lash if the horse runs in a way that might impose danger to other competitors.