Thank you for the query.
Your symptom are very characteristic for urinary tract infection
or urinary tract stones. If such infections do recur , diabetes
can be a reason. It is advisable for you to have urine analysis and urine culture, abdominal ultrasound
and blood sugar level checked. Antibiotic should be ordered accordingly to antibiogram.
Hope this will help.