If you haven't installed the wood yet, I recommend priming all surfaces of the wood before installation, including the cuts before you install it. Your trim will last much longer if you do. Also, especially for trim that is hard to reach I'd use cellular PVC (Azek is one brand) trim instead of wood. It works like wood, takes paint if you want something other than white and will not rot.