You can do this by using a VPN that works to provide the best possible ping for your games. Other things you can do include moving your router nearer your computer, playing on local servers and connecting using an ethernet cable instead of WIFI.