I accidentally erased my brand new my book WD 4TB please help!

I bought my book WD 4TB for my Mac and plugged it in and accidentally erased what can to do now, please someone help. Thank you

Did you had any data on this drive which you lost through accidental deletion? How did you erase it and to which file syste?