I had 'sex' for the first time

So the other night I was round my boyfriends and we felt like the time was right. Everything was going good then he put it in and it really hurt and as soon as it went in he knew it was hurting so we stopped as he didn't want to hurt me. 
I'm not sure what this means. 
Or if it's a good thing