My WD 1TB External Hard Disk ejecting automatically after every 5 seconds......:-(

Does your laptop have a usb 3.0 port, or was this on a usb 2.0 port?  Also, I would consider, if you can take the drive back and replace it with another, to try another drive and see if it happens again.  This way we can eliminate it being a bad drive.