There are several reasons as to why you are experiencing latency and/or LAG while playing a game. If the issue happens only when you are playing an specific game you should check the game configurations in order to optimize your experience. Here are some tips you can do to reduce latency/LAG while playing a game. To have better results running an internet speed test it is important that you have all background activities that use internet turned off
1 - Close all extra running applications which you don’t need while playing, to somehow free up RAM
2 - Open Task Manager and look for the applications that are not visible in taskbar and system tray.
3 - Look for a less crowded channel. Finding an optimized connection settings between the wireless adapter and the router and by choosing the settings which suits the network envirnment and the router, you can have better connection quality and more stable connection.
4 - Check for other unnecessay connected devices and disconnect them as this also may impact your speed.
5 - Disable the Power Saving Functions: Go to Control Panel >> Hardware and Sound >> Power Options >> Set the High Performance and apply to Default Settings.
6 - Check the Change Plan Settings: Change Advanced Power Settings >> Power Saving Mode and make sure both on Battery and Plugged in are set to Maximum Performance.
7 - Check the value of Transmit Power and make sure it is set to 5. Highest