When my PC opens it works pretty fine but later it stops moving. I have to restart my PC every time in order for it to work.
Change your mouse. Please, just do it.
1) Try using it on another PC
2) Try using another mouse on your PC
this will tell you if its the mouse, or the PC
If its the PC:
Could be a virus or other program taking control of the mouse.
It could be a failing port, if its a USB mouse, you could try to use another port, but you have probably already tried that.
If its the mouse:
Change it, it probably is some kind of problem with the sensors or cable or other. It would be best to change it, those are not so expensive, usually.