Nail holes are being filled in new wood that will be painted with oil based paint when should wood putty be applied?

Nail holes are being filled in new wood that will be painted with oil based paint when should wood putty be applied?