Videos/games lag when i don't move my mouse. What do?

Anytime I watch online videos, or play games w/ my xbox 360 controller the video lags after about a minute passes and I have to move the mouse to make it stop. It's really annoying when I'm playing video games and it throws me off.