How to exercise the gluteus medius function after hip arthroplasty?

       Many post-operative hip replacement patients do not walk like normal people yet, and walk with some limp and instability. They walk like a duck, swaying from side to side. This is especially true for patients who walked with a limp before surgery.  The cause of this gait is mainly due to the lack of muscle strength of the gluteus medius muscle. There are two reasons for this gait: First, some surgeons choose the lateral incision to enter by stripping part of the gluteus medius muscle and closing the incision with a poor repair of the gluteus medius muscle, resulting in weakness of the gluteus medius muscle; all surgeons choose the lateral direct entry to fix the stripped gluteus medius muscle on the greater trochanter bone when closing the incision to ensure the healing of the tendon.  Second, the patient originally had little joint movement or fixation resulting in few or poorly developed gluteus medius muscle bundles.  The exercise method is that the patient lies on his side with the affected limb on top, the position is with both lower limbs together, first the affected limb is abducted, then the affected limb is stretched posteriorly and laterally on the basis of abduction, in returning to the abducted position, then back to the position position, back to the original position, each position stays for 5 seconds. 30 minutes each time, 2-3 times a day.