if this is for outdoor work, it is very important to use the correct products for a durable finish, with a primer followed by an undercoat. Aluminium wood primer is especially durable, and also seals knots.
indoors, on woodwork, white Acrylic primer-undercoat will do. you will need Knotting which is tiresome if there are many, and the aluminium primer all over may be less trouble.