WD 500 gb blue screen error

I purchaed a 500 wd hdd but window can not install givivg blue screen error

Connect your hard drive to another pc using sata cables and run hard disk sentinel reports to check for health