Sex helping to induce?

I’ve been feeling miserable and in pain for the last week! I have been having mild contractions and cramping off and on every day. I was wondering if sex would help to dilate and move things along? Did it work for you? I know baby will come when he wants.