Pain During Sex?

So I've been having sex for a little over a year now (with my fiance) and when I lost my V card it hurt SUPER bad. Now its gotten better but for the first few months it wasnt even enjoyable. Now it mostly is okay, but i sometimes still get pains(dull and sharp) down there when we are having sex. What could be causing this?