it could be due to urinary tract infection. get your urine Re/Me and culture sensitivity test done and consult doctor with report. Drink plenty of water
It can be UTI, or stone or something else. Do some tests like USG abdomen (KUB)
Urine Routine and microscopic immediately. Before it becomes any worse.
In a known case of diabetic we need to control sugar levels with medication, aerobic exercise and following a diabetic diet and get her urine checked in a laboratory and follow up with reports.