buy an external hard drive enclosure and put the failing drive into it, then plug the enclosure in to USB port ony any working computer and rescue your data from it. Then buy a new hard drive.
You should always keep backups on another hard drive (preferably two) at all times. Having no backups of files you don't want to lose is just asking for trouble.