Sex while pregnant

I use to really enjoy sex in the beginning of my pregnancy but I am now 33 weeks pregnant and it is painful my hips hurt and my vagina hurts when he puts it in and doesn't get easier, anyone else have this problem?