Welcome MiguelGa00,
It sounds like there is a delay when using your mouse or trackpad on your MacBook Pro. We'll do our best to assist with this.
If you haven't yet, we'd recommend restarting the Mac and testing it out again: To restart your Mac go to the Apple menu > Restart.
Should it persist, then we'd try booting to safe mode. This does some disk repairs and prevents some apps/processes from working there. To boot to safe mode, follow:
1. Shut down the Mac in the Apple menu > Shut down.
2. Press the Shift key on your keyboard and power on the Mac. Keep holding down the Shift key until a progress bar appears. Then release the Shift key.
3. Log in to your user. Then test out the mouse and trackpad.
Does the issue continue in safe mode: How to use safe mode on your Mac
When booting to safe mode it is slower than normal. It prevents some apps and processes from working there. Use sections, 'If the issue continues in safe mode' and 'If the issue doesn't continue in safe mode' depending on your results to solve the issue.
In case you get to this point, we'd recommend these steps next: If your Mac runs slowly
If you still have this concern after these steps, what were the results in safe mode? Do you have any external devices or accessories connected to your MacBook Pro?
Wishing you well, take care.