Inclusion Criteria:  Present a hip fracture (includes cervical fracture and trochanteric), classified in the 10th version of the International Classification of Diseases (ICD-10-ES) with codes S72-S72.26X; In addition, the fracture must be due to fragility: fracture due to a low-energy trauma or not proportional to the consequences (Hermoso de Mendoza, 2003); To have received a surgical repair by replacement arthroplasty or internal fixation (ICD-10-ES procedures: 0SU and 0SR) in a period of less than one week; To be recovering in a trauma and orthopedic unit and/or be transferred to a rehabilitation unit or discharged; Before the fracture, independent or mild dependence for activities of daily living (Barthel index> 60) and living at home; To have the cognitive ability to give informed consent (ANNEX I); To live and be domiciled in a basic health area covered by the study hospital complex To be over 50 years of age  Exclusion Criteria:  Presence of low cognitive level (scores below 23 points in Lobo's Mini-cognitive exam); Patients with pathological fractures due to skeletal alterations other than osteoporosis; Presence of more than one fall (other than the cause of hospital admission) in the last year; Presence of uncorrected anemia (hemoglobin concentration <9/dL), acute infectious disease (C-reactive protein> 10 mg / L), severe cardiorespiratory disease (for example: unstable angina; severe heart failure identified by the New York Heart Association as class III-IV), musculoskeletal or neurological diseases (for example, major amputation of lower limbs) that make physical exercise impossible.