have you tried testing another mouse? is it a USB or PS/2 mouse? what version of Windows are you running? how long has it been since you've done maintenence on your machine? does it run slow? how old is the mouse?
could be anything, start with testing a new mouse 1st. and NOT a cheap one, a decent one