To deal with this, some physicians are advocating shorter courses of antibiotics for some infections. In England they have tried treating some ear infections without antibiotics. As a result the incidence of mastoiditis has gone up, but since many of the infections don't require treatment, most of the kids get better. Fever resolves with antibiotics when the infection being treated can be cured by the antibiotic. Virus infections cannot be treated with antibiotics.
Antibiotics have no effect on viruses.
Antibiotics kill bacteria. That is all antibiotics do. Upper respiratory infections like colds and flu are caused by viruses. Antibiotics do not help and should not be used for treating them. Discolored mucus does not necessarily mean bacterial infection.