Another bladder infection??

I had a little bit of a bladder infection last month and my doctor gave me antibiotics that made it go away and since then I've been making sure to pee after sex and stop holding in my pee so much. It's the middle of the night and I woke up with the burning in my urethra again! I ONLY drink water and I drink lots of it daily. So if i don't hold my pee, pee after sex, and drink lots of water, what else could be causing this to happen? I've seen people claim tight pants or the soap I'm using could be a factor. Should I change the way I clean down there? Cranberry pills? I'm so tired I just want to go to sleep but I can't because it hurts so bad 😩