Surgery

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