To do this, you can go to Start > Settings > Devices > Mouse, and then select Right from the drop-down menu for Select your primary button. You can also switch the primary button from left to right and see whether the left button is broken. You can clean it and check whether you can use it as normal again. When your mouse randomly clicks, the first thing you need to do is to check whether your mouse is dirty. Use Safe mode to scan for viruses and malware.Turn off the ClickLock feature for your mouse.Disable your touchpad if you are using a laptop.How to Fix Mouse Keeps Clicking on Its Own?