Thanks for your query,based on the facts that you have posted it appears that you have UTI due to E-coli infection.
Please take broad spectrum antibiotics like Cefexine along with urinary antiseptic like Nitrofurantoin
twice daily and urine alkaliser thrice daily.
Ensure to drink more water.To keep your urine dilute This will help to control dysuria
As itching of the penis is presenting symptom in Diabetes
get your blood sugar levels on fasting stomach and 2 hours after lunch done to rule out the same ,