WD My Book not recognized by my new Macbook after being hooked up to my work PC

If your data is save someplace else erase or reformat the drive

if not… look for a data recovery software to retrieve your files and then partition if possible