If you hit ctrl-alt-delete(all three keys at once) you can open the task manager. That will show you the processes running on your computer. In the ‘processes’ tab, if you click on the column that says ‘memory’, it will arrange the processes in order of most memory used to least memory used. If anything looks suspicious and is using a high amount of memory, that could point you towards what is bogging things down. Right below ‘processes’ on the left hand side of the ‘task manager’ window there is a line that says ‘performance’. If you click on that, it will show you the percentage of the CPU, memory, disk(your hard drive), WiFi and GPU(graphic card) being used. Right under where it says Memory, you will see how much memory your computer has(the number to the right of the ‘/‘. Back in the ‘processes’ window, you can right click on specific tasks and choose ‘end task’ to stop that program from running. You could play around with that to see if things speed up when specific tasks are terminated.
This article explains a bit of what I was saying about heat inside your computer.
https://support.hp.com/us-en/document/ish_3894569-1692683-16