Thank you for your query,
Your child is having discharge with fever
culd be due to a urinary tract infection
or a local fungal infection
Contnue the medication as per your Pediatrician
But a urine examination for complete urine examination and for culture and sensitivity will help to find out the infection and will help in the management.
If the fever and discharge is not subsiding consult your Pediatrician for further evaluation and treatment.
Hope I have answered your query.