I'm so sorry mama that you had to deal with such pure ridicules unforgivable ignorance of this doctor (HUGS).
Even IF your son indeed has an infection, it does NOT require circumcision. Your doctor is SO misinformed on the issue of intact penises, it is not even funny…rather dangerous I’d say. You really need to find a foreskin friendly doctor.
Does your son have a discharge coming out of his penis? If not, it may not be infection, but just a normal process of separation. In this case a warm bath with a bit of baking soda in it will help him to feel better. Sometimes during separation the penis can be a bit swollen and it can be painful for a boy to urinate (warm bath is a great help with that as well). If this is the case it should resolve on its own within 48 hours.
If the penis is indeed infected, the doctor needs to take a culture from the tip of the penis to identify whether it’s yeast or bacteria (make sure the ped does NOT RETRACT your son’s foreskin, not even a little bit. This is very important). If it is yeast, anti-fungal creams are usually prescribed, plus make sure your son gets good probioticts at least 10 billions a day (you can buy them in any health-food store). If infection is bacterial, it can be easily treated with antibiotics, just make sure again your son gets a good probiotic at least 10 billions a day for at least few months following antibiotic (and during the treatment as well, for example, if you give antibiotic in the evening, gove probiotic in the morning. You can mix the powder with yogurt or drinks).
The probiotics have nothing to do with your son being intact, of course. It just helps to mantain a healhy gut flora.