Urinary Infection

So about 2 weeks ago I had sex for the first time and he used a condom. After that I started having problems urinating it burns everytime. Does this go away with time or MUST I see a doctor about this?