Microlag during HOTS and SC2

Been playing both for a long time, just recently I’ve been experiencing lag in both of these games. No other game is affected, and I haven’t changed anything with my internet provider, network, nor my computer. Any help for what could be causing this as of these past few months?