help!!

I'm 21 weeks and I was having sex and my stomach was like pushing on my legs and now it's all sore could I have hurt my baby