Your ping or latency when connected to a VPN is a product of several factors, but the easiest fix is to connect to a server closest to you. Your ping is high because data transfer between your device and the internet is taking too much time. Connecting to a nearby server reduces the travel time and, thus, improves the data transfer rate.