How to clear a fungal infection?

My son has a fungal infection on his penis. had it about 3 weeks now. over taken to the doctor several times and they just keep give me different medications to put on his penis. it’s just not going away. hes potty training so he dosent sit in a wet diaper. on top of that he has bronchitis and a bad ear infection hes just sick and so miserable and I’m at a loss of what to do to make him feel better. he has medicine for the ear infection and a nebulizer for the bronchitis I have a humidifier. he also has GERD so he throws up alot and so he hadn’t been eating very good. I dont like seeing my baby so sick