/ˌriːəˈbɪlɪˌteɪt/
to return someone to a good, healthy, or normal life or condition after they have been in prison, been very ill, etc.:
The prison service should try to rehabilitate prisoners so that they can lead normal lives when they leave prison.
Physiotherapy is part of rehabilitating accident victims.
After 20 years in official disgrace, she’s been rehabilitated (= given a positive public image again).

rehabilitation