Thank you for posting your query on HP Community,
What is the product number of your HP notebook? Use this link to find it: https://support.hp.com/in-en/document/c03754824 (Ensure you do not share any of your personal information such as serial, phone number, email ID, etc...).
Did you make any software or hardware changes before the issue started?
Have you tried to run any test on the computer from F2? (Either System test or test on the Hard drive)
Could you please respond to this post with the details so that I can provide you with accurate steps which should help you resolve this issue.
Waiting for your response!
Regards,