This very much depends on the paint sytem your bodyshop used, and the way in which it was cured...
The paint contains solvents and these have to evaporate out somehow before you can seal the panel in - else, the solvents wont be able to be released and this will cause damage to the paintwork.
Some panels can be sprayed off of the car (by removing), and this they can be oven baked at high temperature for some paint systems and be cured pretty much there and then and you can protect pretty much there and then... other paint systems require 6 or more weeks before they are fully cured to the point where you can safely wax them, in which case a bodyshop safe glaze such as Chemical Guys PG Pure Hand Glaze regularly would be recommended until the paintwork is ready for wax.
The best palce to know the answer fopr sure is to ask your bodyshop who will know the paint system that was used and how it was cured so they will be able to give you an answer on how long (if at all) the paintwork should be left.