Pain during sex

So the past two times my boyfriend and I have had sex it has hurt. Where it hurts is like up inside me, not at the opening of my vagina, but up more near my cervix as we're having sex. We don't have sex like crazy, just a few times a week and it's not rough really. I'm starting to get really nervous something is wrong. Any advice??