Serious question!

I had a severe uti to where I was taking 500mg 3 times a day and had heavy bleeding but I also found out I was pregnant before that and was around 5w 2d did I miscarry? I just have a feeling I'm still pregnant please no mean comments