@Rohan15,
I reviewed your post and I understand that the computer is not booting to Windows.
Don’t worry, I assure you I will try my best to get this sorted.
I recommend you follow the steps in the below article and perform a reset on the computer and check if it helps.
https://support.hp.com/in-en/document/c04742289
Let me know how it goes and you have a great day!
P.S: Welcome to the HP Support Community 😊
If you wish to show appreciation for my efforts, mark my post as Accept as Solution. Your feedback counts!
Cheers!
The_Fossette
I am an HP Employee