Sex Advice please

Me and my boyfriend had recently had sex and I was down for it and it’s technically not my first time but when he started to do his thing it hurt super bad that he asked if i wanted him to stop but I said no keep going because I thought it would stop hurting but towards the end it got a little better idk if it’s because I was a little nervous! when he got to the end it started to feel a little better idk if its because I relaxed ! Is it normal to feel pain? And yes we used a condom