Protection from Viral Pneumonia?

I’m 21. Male. 170cm height.

One of my colleagues has contracted Viral Pneumonia. He’s been hospitalised now.

The fu-asshole had been coughing and sneezing in everyone’s direction for a while, never listening to anyone when told to wear a mask.

Then he got really really sick in the span of a single day.

Now many of us have been getting infrequent coughs, and the guy who was sitting next to patient zero has gotten a fever.

Is there some kind of medication to prevent getting pneumonia fully or something? Maybe a vaccine? Anything else I should do?