Races in Assassin's Creed 2 are side activities you can find scattered across the cities.
Look for the race markers on your map, head to the starting point, and interact with the character there to begin. From that point you just follow the course to the finish to complete the challenge.