Paint next to varnish...which comes first?

Am wanting to have a painted 3" stripe next to varnished deck.  Should I lay the paint and then varnish or lay the paint on top of the varnish?

Thank you.

Thanks, Wes.

Varnish first.

George K

This subject has been covered in great detail several times on this forum. Use the search function to find those posts. -Wes