Is the best way to access my server remotely with a VPN?

As the title says, is a VPN the best way to get remote access. If so, are there any good guides on setting that up to make sure it’s secure?

Thanks!