Ans: Antibiotics are used to treat bacterial pneumonia, but viral pneumonia does not respond to antibiotics. Antiviral medications may be prescribed for viral pneumonia.