Pain intervention and surgery