With severe stress fractures (see "prognosis"), surgery may be needed for proper healing. The procedure may involve pinning the fracture site, and rehabilitation can take up to six months.[citation needed]