Sex!!!

It’s been a week since I haven’t had my period & maybe a week & half that we haven’t had sex so we did today when he went in it was hurting but the stopped.

What could be the reason for that?