Josh_149 :
I have a command showing my ping, its nothing to do with my fps, its my ping, sorry i should of been more specific it goes from 60 to 300 every 30 seconds
Assuming you're playing a game.
Are you using a network cable or wifi signaal to play online games?
If using wifi check the strength of the signal and do a speedtest.
If using a cable, check if the cable is working or try another network cable to test.
And maybe check your driver of your network card.