Sometimes a pilonidal cyst may become infected and can be painful. A cyst may need to be drained or removed surgically.