What do doctors do for a collapse lung the won't stay inflated?

Surgery. Generally, minimally invasive surgery (vats), inspection of lung for "air leak", staple resection of leaking and/or abnormal region, and pleuradesis.
Surgery. Ocassionally surgery for collapsed lung if does not expand and stay up with a chest tube.