Is a UTI a sign only pregnancy?

I have had sex in almost 3 days I’m 1 day late and I’ve been sick I either have thrush or an UTi cause I’m weeing all the time and burning down there is this a sign or not?