Question: why antibiotics are given in viral infection?
Answer: Antibiotics kill bacteria, not viruses. Nevertheless, some doctors prescribe antibiotics for viral infections such as colds and the flu as an extra precaution, perhaps to ease the concerns of patients who think they need medicine, or to prevent a subsequent bacterial infection from arising while the body is weak.