Prevention. While preventing exposure to walking pneumonia pathogens might not always be possible, there are certain precautions individuals can employ that might reduce their chances of developing a specific strain of the illness. Such efforts include washing one’s hands thoroughly (especially after using a public restroom of frequenting a public venue), trying to avoid direct contact with someone who appears to have some type of respiratory illness or covering your face with a mask in instances where direct contact is unavoidable. Certain physicians also recommend obtaining a flu shot (sometimes flu may precipitate a case of walking pneumonia) or a vaccine. Inoculations are recommended for older persons, in addition to those with weakened immune systems.