To ensure durability and paint adhesion, sand the wood with the grain, working your way from coarser to finer grades of sandpaper. Remove all dust with a tack cloth. Seal any knots with shellac to prevent bleed-through, and seal or prime wood on all sides, especially if it will be exposed to weather. Lightly sand the sealed wood, then sand in between additional coats of paint.