During thoracostomy, the physician will inject a local anesthetic into the chest wall where the fluid is located and place a plastic tube into the chest between two ribs. The physician will then connect the tube to a suction device, which will help to remove the fluid