Sex inducing labor?

How early can sex start to induce labor? I'm 34 weeks, and I don't think it would start this early but I was just wondering about how many weeks it could induce labor? And also is it sex that induces labor or an orgasm?