Take deep breaths and cough. This will help to expand your lungs so you don't get pneumonia.