The chances are that there is nothing wrong with your mouse and that your problem is either software or a memory problem. Try the computer in safe mode, do you still have the problem of the mouse freezing? if not then you have a software problem. If it still freezes then try testing the memory by running memtest86 for at least three passes, any errors in this test are the cause of your problem.