Hi, let's start with the usual basic checks, and try to get a little more information.
1. Please do this to check your file system:
From an admin command prompt
[Windows key + X, click command prompt (admin)]
chkdsk C: /F
Your PC will need to restart.
Make sure the result is clear or fixed- else do not proceed.
Post back the result, which you can get after a restart as follows:
How do I see the results of a CHKDSK that ran on boot? - Ask Leo!
2. Please post a screenshot of your task manager when the system is nominally idle. Please make sure any columns showing significant resource use are organised with processes using most resources at the top.
3. Please confirm HP lists your system as approved to run Win 10. (Manufacturer's usually have a page listing approved PCs).
4. Is your BIOS up to date?
5. If your task manager shows significant resource use, please try a clean boot, and post another screenshot of your task manager.
6. Please add your disk info to your system specs.
Thanks.