UTI????

So for the past 3 days I've felt like I've constantly needed to pee and everytime I peed my uterus aches pretty bad for a short time after, is it a UTI? And what should I do to get rid of it?