38 weeks help

Alison
So me & my SO was having sex and it literly hurt so bad like he was hitting something that we had to stop! He even said i cant go in all the way it feels like im hitting somthing?? What could this be ?