these steps solved the issue thank you
Unplug the mouse.
With the mouse unplugged, hold down the left and right mouse buttons.
While holding down the mouse buttons, plug the mouse back into the computer.
Wait for the mouse’s LEDs to begin flashing, then release the buttons.
Unplug the mouse.
Plug the mouse back into the computer.