is this a wireless mouse? check the battery
They can and do get dirty inside where the sensor is and the scroll wheel. If your handy with mechanical you might be able to take it apart to clean. Also the little rubber feet on the bottom can wear out and that affect your mouse operation too.