Treating Pneumonia It is sometimes difficult to determine viral from bacterial pneumonia so doctors may opt to treat with antibiotics. Your child's pediatrician may recommend other therapies such as, Acetaminophen or Ibuprofen. Breathing treatments such as nebulized breathing, oral steroids or inhalers.