Then reset any protruding nail heads, or remove them and secure the boards with deck screws ... let the wood dry completely and mask off any surface you want to protect from the paint.