Sex induce labour

Does sex really work to induce labour? I’m quite scared to try it this late on! I’ve tried walking & everything else.