VPNs don't give you protection against malware, or hackers who have already accessed your device.
VPNs are meant to hide your true IP address and browsing activity from sites and your Internet Service Provider.
If you're looking for device protection against malware, use anti-malware software, not a VPN.