There is no known prevention for atypical pneumonia. However, avoiding those with the infection can help reduce your risk. Infants, and persons in poor health, especially those with weakened immune systems due to HIV, organ transplants, or other conditions, should avoid contact with people with mycoplasma pneumonia.
Limper AH. Overview of Pneumonia. In: Goldman L, Ausiello D. Goldman: Cecil Medicine. Philadelphia, Pa: Saunders; 2007:chap 97.
Mandell LA, Wunderink RG, Anzueto A, et al. Infectious Diseases Society of America/American Thoracic Society consensus guidelines on the management of community-acquired pneumonia in adults. Clin Infect Dis. 2007 Mar 1;44 Suppl 2:S27-72.