telling work 😱

I'm only 6 weeks but I have to inform work early due to risks. I'm very nervous, don't feel great having to tell them before I tell my family. Has anyone been through this before?Â