Yes, using a VPN is the best protection against swatting. Swatting occurs when a rival gamer manages to access your personal information via your IP address. This is a huge risk to online gamers, as you never know who you are playing against, and how vindictive they may be if you beat them or antagonize them in any way, even accidentally. To prevent the risk to yourself and those around you in the event that you do play against someone with aggressive tendencies, always use a quality VPN when you game against or with strangers.