if it is a wireless mouse, it could be bad batteries, faulty wireless signal, or something interfering with the signal. Did you reently add anything to the room your computer is in, or put the computer into a room, something else that has wireless technology, such as a cordless phone, router, remote control car, etc?
Could also be malware so it wouldnt hurt to do a good virus scan with a good anti-virus program.