The USB cable on the side of the HD is very sensitive on moving. Even the smallest move of the cable disconnects the disk from the computer.
Hello, melvina,
Well WD® drives are tested and examined before exporting to the distributors from the factory. There could be the multiple reasons for the issue that you have I would recommend you to try contacting WD’s Technical Support about this.
To Contact WD for Technical Support
http://support.wdc.com/support/case.aspx?lang=en