has anyone had pneumonia?

I went to the doctors yesterday and they said I have pneumonia. I’ve never felt so sick in my life and I just want it to pass. Anyone have it before and make it through it?? How long did it take?? Any tips? I live at college in a dorm (don’t worry I’m on antibiotics, no longer contagious). I can’t keep missing classes.