Antibiotics don't kill virus, so it is useless against a viral infection. A doctor must determine if a patient's infection is of viral or bacterial origin before taking antibiotics, this is another reason why a medical doctor should prescribe antibiotics instead of relying on self-medication.