How many wheels does a Formula one car use in a race?

A couple of years ago FIA changed the rule that stated a car can change the pneumathics (tires) when in pit stop during the race. Now they can only use the set of tires that they start the race with.