Is it supposed to hurt?

Recently while having sex with my boyfriend the opening of my vagina has been hurting in the beginning and we have to take things slow in the beginning. It's always protected sex. Also I recently lost my virginity over Labor Day weekend. Could this be a possible infection? It is this normal?