Please bear in mind that an external hard drive has 2 components,the drive and the connecting circuitry.
It may be that the interface has failed but the actual drive is still ok, so pleas don't just shove it all into a bin.
See if you can find someone with a spare, compatible enclosure and try the drive in that.
Or even just bung the drive into a computer to see if it works when the interface is removed.