Pregnancy scare

I'm 14 and recently had sex(3 weeks ago roughly) with a condom of course, I'm now getting pains in my stomach and back, I have been getting these pains for a while, even before I had sex, but I just can't get the thoughts of pregnancy out of my head... HELP!!