Inclusion Criteria:  Age ≥ 75 years Surgical indication for total hip or knee replacement for hip or knee osteoarthritis. Minimum time of 6 weeks between inclusion visit and date of surgery Physical (excluding coxarthrosis or knee osteoarthritis) and cognitive capacities to follow a prehabilitation program (assessment by the geriatrician) Proximity between place of life and hospital to go to the center for pre-rehabilitation Good understanding of the French language Benefiting from social coverage Have read the information notice and have consented to participate in the study by signing a written consent  Exclusion Criteria:  Urgent surgery (trauma, acute dislocation) Neurocognitive disorders at a moderate or severe stage (Mini Mental State Examination (M.M.S.E) ≤20), or not evaluable and not allowing to participate in the prehabilitation program Lack of social coverage (beneficiary or beneficiary) Adult persons subject to a legal protection measure (curatorship, guardianship and safeguard of justice) Refusal to participate Hospitalized patients ( the living space can be the home or thelon term care).