So confused help ladies!!

So pretty much i had a uti in May after my May 4th-9th period ended, then ovulated, then i had brown and pink discharge, then i went to hospital and was told indeed i had a uti, then i missed a period June 4th, then i took a pregnancy june 4th and June 5th ( both negatives), then another test on june 7th knowing i have to be pregnant by the way my body changing and there was a faint positive line.

I took another test today and the line was definitely more visible than the last test but still a faint positive. I looked it up and found uti or infection can affect pregnancy tests. It also said sometimes it takes longer to show up depending on the woman but that never happened with me with my last pregnancy.

What do you think? Im so confused. Its a positive but I don't understand why it showed up just now.🤔 or what's even going on.

I have an appointment coming up soon too. I just want everything to be ok.