Working as a flagger in construction site while 4 weeks and 5 days pregnant is it safe?

Lia

I’m pregnant with my first child was diagnosed with PCOS tried year and half to get pregnant now that I am should I still work since I’m 4 weeks and 5 days in and when is the best time to tell my boss ? Please help.