Pain during sex?

I've had sex with my boyfriend maybe 10 times ( for the first time ever like 3 weeks ago). It still seems to hurt more than feel good. What can I do so it's not as uncomfortable?