Check the battery.
Remove the logitech driver (you can reinstall lateer if it has features you like).
Connect the receiver to a different usb port.
Make sure your keyboard is working and that none of the meta keys are stuck (ctrl, alt, windows, option, etc)
Tap the mouse button hard several times to clean the button contact.
If none if that works, and another mouse does work, replace the mouse.