Just so we're completely clear, when you mean "lag" you mean frame rate or internet lag (rubber banding etc)?
If you're talking about performance, then your GPU or CPU might be downclocking and making you get worse performance due to high temperatures.
Could you tell us your specs?
Also can you play games with a monitor software such as HWINFO opened and tell us the max temperature values of your CPU and GPU after you play?