Presumably you or your loved one are in an ICU at this point.
What happens next depends on why the chest tube
isn't working. Anotherr chest tube may be placed, the breathing tube may be moved so that only one lung is ventilated and a surgical repair attempted, etc. Your surgeon or your intensivist should tell your their plans.