There are several factors that affect the internet ping speed. It could be your internet connection, your PC, the game settings, or some other factors that could be leading to a high ping speed.
Advice:
#1 – Use Ethernet Cable Instead Of WiFi to Improve Ping Speed
#2 – Bring Your PC And Router Closer to Fix High Ping In Online Games (only for WiFi users)
#3 – Close Websites & Programs Running in Background
#4 – Limit The Number Of Devices Connected to WiFi
#5 – Connect To Local Server in Online Games
#6 – Stop Downloads on PC to Improve Ping Speed in Online Games
#7 – Check Your Internet Speed
#8 – Restart Your Router to Fix High Ping In Online Games
#9 – Upgrade Your Router to Improve Ping Speed in Online Games
#10 – Use VPN to Fix High Ping In Online Games
#11 – Use Reduce Ping Software
#12 – Whitelist Game In Antivirus/Firewall
#13 – Optimize Game Graphics
Data explained and credits: https://thegeekpage.com/fix-high-ping-in-online-games/