This is direct from the HP Website......... The Smart error ( 301 ) and both the short and long Disk Self Test error ( 303 & 305 ) all indicate that the Hard Drive is failing and needs to be replaced.
You will need to replace the hard drive in your laptop and on the HP website you can find instructions on how to do so for your model number. If you don't have a backup then the first thing you need to do is to take the hard drive from your machine, put it in an external USB caddy and retrieve all your Documents, Pictures, Music, Videos etc. To do this you would be best to use a different PC, borrow one from a friend and use their USB port. Once all your personal data is safe you can then try using the HP Factory Restore partition to get you running again. But the only real fix is to replace the existing hard drive.