Replace the batteries in a mouse if they need to be done. Clean your mouse next. Also, your mouse's infrared sensor may be covered in dirt. Remove the mouse with a screwdriver if dirt is within the scroll wheel, and clean it with canned air.