Surgery is needed to drain and remove a pilonidal cyst that does not heal. 1  Your doctor may recommend this procedure if you have pilonidal disease that is causing pain or infection. 2  A pilonidal cyst that is not causing symptoms does not need treatment.