UTI? should I be worried?

okay so the last time my boyfriend and I had sex was last Sunday... I got a UTI on Tuesday and it hasn't went away since... I also started spotting but I was suppose to get my period anyways should I be worried? is the spotting because of the UTI?