Don't worry as I'll be glad to help,
I understand that your HP notebook is not working correctly and you are unable to install Windows OS. I have a few troubleshooting steps we could try to fix the issue:
Firstly, remove the hard drive from the computer.
Once the hard drive is removed turn on the computer without the hard drive- While booting as the computer doesn’t detect a hard drive so it’ll automatically roll back to the previous bios.
Put the HDD back in and turn it ON. It might give an error about the improper shutdown. Just click continue and it should boot to windows.
The HP Cloud Recovery Tool allows you to download recovery software to a USB drive. You can use the downloaded recovery image file in order to install the Windows operating system.
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".