So I'm having an issue with a USB mouse. It works fine for a bit but, after a few hours or so, it suddenly stops. Before this, it also tends to freeze randomly for brief moments and the USB plug sound sometimes goes off with for apparent reason. The only way I've found to fix it is to restart the computer. Other USB devices seem to work fine and the malfunction might be related to computer temperature.
Is this something I can fix, or should I just buy a new mouse?