WD15EARS problem

Hard to say what it wrong with it with knowing so little about the drive. If the BIOS doesn’t see it - there is a problem with drives initialization. Could be firmware could be physical, neither are really a DIY type of fixes. Seek for data recovery company if you need files back, if drive is still under warranty open the case with WD and send it for replacement.