[header] How to treat walking pneumonia [title] Get a prescription for antibiotics. [step] If you are diagnosed with walking pneumonia caused by bacteria, you will be prescribed an antibiotic. Your medical provider will choose an antibiotic based on your history and presentation. 
You may also have to do a sputum culture test to identify the type of bacteria present in your lungs for picking the right antibiotic. There are several antibiotics are usually prescribed for the treatment of walking pneumonia, including macrolide antibiotics, which are often prescribed for children and adults.