If you are using a mouse with Universal Serial Bus (USB) port, then you can unplug and plug the mouse again with the computer. Typically, it will solve your issue. If it does not, you can download and run Microsoft Fix-it USB Troubleshooting Tool. Follow the steps in the program to fix the problem that you are facing.
If your mouse has PS/2 connector installed at its end, then you will have to press the Window key on your keyboard and highlight the run option in the menu. Hit enter and wait for the new window to appear. Write "sysdm.cpl", and hit the Enter key.
You will now see “System Properties” window on the screen. Select the Hardware tab and Hit enter after you move to the “Device Manager” button. You can do it by pressing Tab key on your keyboard, and the highlighting box will move to Device Manager button.
Go to the “General” tab and move the highlighting box over the “Troubleshoot” button. Press Enter key. Now, follow the instructions in the troubleshooting program and look for the possible solution of the issue that you are facing. If the problem still persists, then you may need to replace your mouse with a new one.
If you are using a mouse with a ball for moving the cursor, and your cursor does not move properly, then you can remove the ball from the mouse and clean the rollers installed under the mouse. It will solve the movement issue.