Contractions after sex

I have been getting steady contractions after sex this afternoon. Has sex around 6 pm and it’s 10pm now and I’m still getting contractions. My inner thighs feel VERY sore and my pelvic area hurts after the contractions passed. Their consistent but they dont Last very long. Their not unbearable but they do take my breath away. Should I be worried ? Could it lead to labor ? I’m 37 weeks 2cm dilated. Had 2 pre term baby’s at 32 weeks!