It depends on your VPN provider, so you should check their website for more in-depth details. As an example, here are NordVPN’s steps to installing a VPN on your router.