Home treatment is important for recovery from pneumonia. The following measures can help you recover and avoid complications: 1  Get plenty of rest. 2  Drink plenty of fluids to prevent dehydration.3  Take care of your cough if it is making it hard for you to rest. Get plenty of rest. 2  Drink plenty of fluids to prevent dehydration. 3  Take care of your cough if it is making it hard for you to rest. 4  A cough is one way your body gets rid of the infection.