Welcome to HCM AND THANKS FOR THE QUERY.
You had UTI AND HAS BEEN TREATED.
Since you have it again, you are suffering from recurrent UTI.
The cause needs to be evaluated by ultrasound
to check for stone or block and needs to be treated.
If no specific cause is found, you need antibiotics for about 3 to 6 months at half the dose for complete eradication of the bacteria.
Get well soon---