Surgery

A man is brought to casualty who met with A. He sustained multiple rib fractures with paradoxical movement of chest. Management is: