@belindachew
You can try running diagnostics to test the drive -- but if it fails, you will have to take this PC to a laptop repair facility to have them check the SSD to then replace it.
To check the drive you have to follow these steps:
1) Press Esc key repeatedly, several times a second, while rebooting the laptop. Do NOT hold the key down, just press it over and over.
2) Eventually, you will see an HP Startup Menu
3) Press the Function key for testing the hard drive (usually F2) and let it run.
I am a volunteer and I do not work for, nor represent, HP