Contractions under right rib?

Tammy
I'm experiencing pain under and below my right rib. It feels like my ribs are being pushed out but tightened at the same time. I really have to breathe through the pain. It's most painful when I'm in the car but pretty much happened the entire time I was getting my hair cut today. Has anyone experienced this? Am I having contractions or is baby just running out of room in there and kicking the crap out of my ribs?? I'm 38+6 weeks, had a membrane sweep yesterday, and lost my mucous plug last night.