Nail holes are being filled in new interior wood that will be painted with latex paint. When should final spackle be applied?

Nail holes are being filled in new interior wood that will be painted with latex paint. When should final spackle be applied?