Why does it hurt??

The last two time in the last week I’ve had sex, it hurt, why does it hurt to have sex. I’m definitely wet enough and it doesn’t hurt at first.