Any exterior wood should be treated with a wood preservative followed by an exterior wood oil. Most wood preservatives contain wax or silicon to offer weather protection, so it’s recommendable that you choose a wax and silicon-free preserver if you want to paint over it. Apply painting only after it’s fully dry.