Fill all cracks, crevices and openings with wood putty.
Remove the dust with a tack cloth or a damp rag.
Paint with a high quality primer.
Apply final paint color. Allow to dry thoroughly.
Finish with a protective surface such as polyurethane. This provides a durable finish to your subfloor.