Surgery may be necessary, e.g. to relieve excess pressure on the cord, to stabilize the spine, or to put vertebrae back in their proper place. In cases involving instability or compression, failing to operate can lead to worsening of the condition. Surgery is also necessary when something is pressing on the cord, such as bone fragments, blood, material from ligaments or intervertebral discs, or a lodged object from a penetrating injury. Although the ideal timing of surgery is still debated, studies have found that earlier surgical intervention (within 24 hours of injury) is associated with better outcomes. Sometimes a patient has too many other injuries to be a surgical candidate this early. Surgery is controversial because it has potential complications (such as infection), so in cases where it is not clearly needed (e.g. the cord is being compressed), doctors must decide whether to perform surgery based on aspects of the patient's condition and their own beliefs about its risks and benefits.