Hello Evie Liontou,
Good to see you in Microsoft Community.
Firstly, could you let me know the specific system version? You can check it by pressing the Win key + R key, and typing "winver", then press Enter, please take a screenshot/photo of it, and only send the relevant information without PII in the next reply.
Did this occur recently, or has it been going on for a while? If it was recent, did you have any special actions (such as installing system updates*,* hardware changes*, etc.*) before that?
You may uninstall the touchpad in Device Manager ("Win*" + "X" > "Device Manager" > "Mice and other pointing devices", find the device, then right click > "Uninstall device"*), then reboot to see if it works. The system will automatically search and install the driver suitable for your device generally.
If it still does not work, you may go to the official website of your device manufacturer (Official HP® Laptop Drivers and Software Download) to download the corresponding model driver and install it manually. After the installation is completed, reboot and see if the device works properly.

Disclaimer*: This is a non-Microsoft website. The page appears to be providing accurate and safe information. Watch out for ads on the site that may advertise products frequently classified as PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.*
And you may Perform a clean boot **** to see if the touchpad works fine, this is a troubleshooting step. In this mode, we can further confirm whether it is caused by system problem or third-party software or personalized settings. So, please be patient.
Disclaimer*: A “clean boot” starts Windows with a minimal set of drivers and startup programs. It helps to determine whether a background program is interfering with your game or program and to isolate the cause of a problem.*
These steps of "clean boot" might look complicated at first glance. However, to avoid any trouble for you, please follow them in order and step-by-step so that it will help you get you back on track.
If anything is unclear, please do not hesitate to let me know.
Best Regards,
Mosken_L - MSFT | Microsoft Community Support Specialist