Hi:
The error code you posted indicates that you will need to install a new hard drive and reinstall the operating system.
Below is the link to the service manual, where you can find the hard drive removal and replacement procedure.
HP Notebook PC (AMD)HP 255 G4 Notebook PC Maintenance and Service Guide
You may want to consider replacing the 2.5" mechanical hard drive with a better performing 2.5" solid state drive (SSD).
After you replace the drive, you can reinstall W10 for free by making bootable installation media with the media creation tool from the link below.
Download Windows 10 (microsoft.com)
After W10 has completed installing, you can install the drivers and available software from your notebook's support page.
HP Notebook - 15-af147ca (ENERGY STAR) Software and Driver Downloads | HP® Customer Support