Mobile data not stable to play online games.

May 6, 2018
I have good internet connection when browing or watching videos on youtube but whenever i play online games, the ping is the stable,
The ping keeps going up and down every sec that online games are unplayable in my phone due to severe lag, I have tried switching to other networks but the issue is still the same, can anyone help me to fix this issue in my phone.