Leg exercises?

Amanda

I'm 36 weeks and at my doctors apt yesterday I was 2cm dilated. I'm planning to do legs tonight at the gym but wondering if there's anything I should avoid (exercises that might put me into labor)?