Surfactant and pneumothorax

Today baby after we give him develoed huge massive pneumothorax, any one can help me how to decrease this complication ,and how to predict it