I had to take steroids when I had pneumonia many years ago. Only for 1 or 2 weeks though. I wasn't happy about taking them, but was told short term use was fine in order to shift the infection. I'd been on several antibiotics, they didn't work, so needed intravenous ones plus the steroids to shift it.