leg cramp or baby sitting weird?

Shelly

has anyone ever had this before I feel like I either pulled a groin muscle or the baby is hitting a nerve. it hurts so bad. it's hard to walk makes me,feel old. I took,some Tylenol hoping that will help I'm 31+3 and high risk. I'm not in labor or wasn't as of yesterday my doctor did a membrane sweep bc I thought I was in early stages bc I had my son @ 33wks and they held him off till,35wks. I'd like to think bc I've had a baby before I would know what my body is doing .