Sex while pregnant

Sydney

So my husband and I are pretty sexually active and have been throughout my pregnancy so far. However I’m 27 weeks along now and I’m wondering when it’s no longer safe. I’m saying “safe” because I know that sex can help the progression of labor later on in pregnancy. Thanks in advance.