There mainly 2 causes to the problem.
I draw to this conclution after reading
"I checked the bios in boot priority, it does not show my 500gb HD " which means your HDD could be recognize by the mobo/BIOS it doesn't matter if it happens either sometime or permanent.
Those are :
1. Physical problems such as damaged cable, damaged SATA plugs.
2. Broken mobo or broken HDD.
Try to connect the HDD to another system or try to connect another SATA HDD to your mobo, with new cables. See what happen.