During the surgery, the doctor may clean out infected tissue. If the spine is unstable or there is pressure on the spine due to the infection, the doctor can also do procedures during the surgery to stabilize the spine and relieve pressure.