Pain during sex?!

For the past 3 weeks every time I start having sex with my boyfriend we have to stop because it starts to hurt me. Any ideas of what this could be? I'm really nervous and not sure what is going on.