I'd say it's a urniary tract infection. If I were you I'd make a doctors appointment soon. It's a simple test, just pee in a cup. When I had one, my doctor told me that if you don't take care of it in time that it could turn into a kidney infection
(which can get pretty serious). Like I said, I've had a UTI before and what you just described sounds like what I had.