Clinically, diabetic patients with prolonged substandard blood glucose control can cause urinary tract infections. Patients show symptoms of bladder irritation such as painful urination, urgent urination, incomplete urination, and in severe cases, fever. In addition, anti-infection treatment should be given. According to the urinary tract infection is commonly caused by gram-negative bacilli, so cephalosporin III or quinolone anti-infection treatment is often given clinically. Urine culture and drug sensitivity tests are given, and the application of antibiotics should be guided by the results of drug sensitivity tests if necessary. At the same time, actively monitor blood glucose, so that the blood glucose control standard, if necessary, adjust the glucose lowering program, better control the occurrence of urinary tract infection. Improve urinary ultrasound and monitoring of residual urine volume to understand whether there are susceptibility factors such as urinary retention. If urinary retention is present, give catheterization and restore bladder function treatment under the premise of active anti-infection treatment and blood sugar control.