Smooth over screw holes with filler. Touch up with exterior paint. Place gate frame against back of post with a 10mm gap, rest on offcuts, to mark hinge positions. With plastic caps facing up ...