This leaflet explains why there is a risk that you may develop a chest infection after an operation. A general anaesthetic can affect the normal way that phlegm is moved from the lungs. Pain from the operation may also make it more difficult to cough or breathe deeply, which means there is a higher risk of chest infection.