Painful sex

I just lost my virginity to my boyfriend and it hurt a ton. We used lube but it still stung and was uncomfortable. I though after the first time it wouldn't hurt anymore but we've done it 2 more times after and it still really hurt. Is this pain ever gonna go away? When does it stop hurting and feeling good?