Hi there iftekhar_3,
That is really unpleasant.
What is the model of the drive? What happens when you try to format it? (keep in mind that this is a data destructive process)
Have you tried something simple as just attaching the drive with another USB cable to a different computer? If you've done that and if the drive is under warranty, you can contact the place you got it from or our Support and eventually RMA it, as popatim suggested:
http://products.wdc.com/support/kb.ashx?id=IC6fxZ
If you have some data stored on the drive, you can see if you will be able to access it with some data recovery tools:
https://www.lifewire.com/free-data-recovery-software-tools-2622893
After that, you can test the drive with WD's DLG tool (both short and extended tests):
http://products.wdc.com/support/kb.ashx?id=QsVBxa
If you can't access the drive with software tools but the data stored on it is extremely important, you will need to look for some professional help. You can check WD's Data Recovery Partners out:
http://products.wdc.com/support/kb.ashx?id=Ra8Kky
Keep in mind that the device could be hardware encrypted. This means that you will not be able to access the data, unless the drive is inside the enclosure.
Let us know how this goes,
D_Know_WD