I have a uti help!

So I found out today that I am right on the border of having a uti and was put on an antibiotic safe for pregnancy (currently 4 weeks 1 day) and my question is will a uti make mild pg cramps ten times worse? I have no bleeding just sharp pains and burning when I use the restroom.