Work and informing of pregnancy

Has anyone told their boss their expecting? Going through a really stressful patch at work and had bad cramping on Friday and went to Doc. Everything ok and said too early for scans etc. Just scared to say in case it’s too early and something happens?