Advice?

I’m 40 weeks tomorrow and got diagnosed with Strep B about 4 days ago. Is it safe for me to have sex with my partner? Really want this baby to make her appearance now!! Ive lost part of my mucus plug this morning and had very bad diarrhoea this afternoon so hooding sex may just do it 🙏🏻🙏🏻