Right-click the 'Windows' icon on your Desktop and navigate to Settings > Devices > Touchpad. Note: Be sure to install all the latest Microsoft® Windows System and Security Updates. If the issue persists, follow the steps below: You can use a clean soft cloth (preferably a microfiber cloth) and compressed air to clean your keyboard or touchpad.
Check if the keyboard or touchpad is clean and has no dirt or debris stuck under the keys. The issue could be caused by either a corrupted driver or a dirty keyboard or touchpad.