Wd ssd sata blue 500gb- macbook pro mid 2012

hi everyone, i have a macbook pro mid 2012 and since 6 months i replaced my hard drive with a brand new wd ssd sata blue 500gb
no problems and the mac get faster and iwas so happy since one week when i played a song and then the mac get frozen, i restart it and then it reads the hard drive not anymore, i format it same case, i put it usb case and the mac read it!! i put again the old hard drive in the mac and the mac read it so the problem is not the mac but the wd, is there any solution because i need my fast mac back :frowning: