Is it bad to have the air conditioner on when a child is sick?

NO. Being in an air conditioned environment is not detrimental, and will not worsen your child's illness. Just as being out in the cold or wind, does not make one sick. Certainly, if your child is having chills, he or she may feel uncomfortable in a cooler environment.