why does it hurt

Me and my boyfriend have sex, but it hurts me .. is there any way to stop the pain I get when we have sex? He didn't take my virginity so I don't know what's wrong.