First, let's start with performing a hard reset on the PC to release any excessive static/power that could have caused the issue.
Turn off the computer.
Disconnect all external connected peripheral devices such as USB storage devices, external displays, and printers.
Unplug the AC adapter from the computer.
Press and hold down the Power button for about 15 seconds to drain any residual electrical charge from the capacitors that protect the memory.
Press the Power button to turn on the computer.
If a startup menu opens, use the arrow keys to select Start Windows Normally, and then press the Enter key.
Second, you can check if there is Bios update available for your PC, here is the link to download.
Performing a test on the Hard drive as well as on the Memory from the Hardware diagnostics:
1) Shutdown the computer.
2) Turn the computer back on again and repeatedly tap on the ESC until a Startup menu appears.
3) Press F2 once for System Diagnostics.
4) Go to Component test.
5) Run extensive Memory and Hard Drive test.
Depending on the test results, If the test passes then I would suggest you perform a complete system recovery.
Note: Recovery will wipe off everything from the computer. If you have anything important get in touch with some local stores to get your data backed up.
To thank me for my efforts to help you, please mark my post as an accepted solution so that it benefits several others.
Sandytechy20 I am an HP Employee
Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".