Please educate me on sex to induce

Is it me orgasming that helps induce labor? Or is it only about having sperm inside that helps? Or is it both? Bc TBH I don't think the latter is going to happen. If it's just a matter of me orgasming that's easy.