Why did it hurt??

When me and my boyfriend was having sex he just put his dick in my vagina when he did that it really hurt me a lot but I wasn't expecting it because we have had sex like 4 times before this occasion so I really wanna know why did it hurt ???