Pneumonia

Have any of y’all had pneumonia while pregnant? What was the outcome? What did they do? I’m 32 weeks.