How to stop the cursor/pointer from swaying around?

I am on a desktop, Window 10 just installed a bunch of stuff that I don't even use and now my cursor/pointer is swaying around and I can't get it to stop, I am using Firefox if that will help.
Update: My mouse is plugged in and does not run on batteries.
Its not my mouse BTW.
5 answers 5