anybody know why?

not first time having sex of course, but me and my partner had unprotected sex last night and it hurt when he went in deep? Anybody know why possibly?