My uti won’t go away!

I’ve literally noticed I’ve had this for too damn long. I went through emergency on July 22 (day after my period ended) Bc of my uti this was my first one ever the pain was so uncomfortable I just couldn’t wait to be treated so I rushed to the hospital (was going to go to my regular doctor that morning) I sat in the hospital until 6am they finally released me gave me a pill and I went home went to bed go the meds when I woke up. I had to take them for 7 days I kinda did mess up with the pills but I still ended up taking all of them. Last day of me taking them I felt good felt like I had no symptoms I went to my boyfriends house we had sex then hours after I started to feel the weird cramping feeling I felt instantly knew I fucked up. Two days later I went to my regular doctor he tested me found blood in my pee still had the uti he gave me more pills but these were different from what the other doctor gave me. And I was supposed to take 2 a day for 9 days ended up taking them for 8 Bc they made me feel terrible towards the end today would be the 9th day august 14th. I ended up looking them up and seeing that the warning said if you started feeling nauseous and having a difficult time breathing seek medication attention. Which I didn’t and I felt this way for 3 days. I started my period this Tuesday. I’m not 100% sure if I still have it but I think I do. I don’t have pain when peeing or an those weird cramps. I still feel off tho. I’m gonna try to drink as much water as I can and try the apple cider vinegar to flush the infection out if I still feel the same I’ll go back to the doctor. Has anyone had a uti for THIS long?