We use this expression when someone decides to behave differently, usually in a better or more positive way. It often suggests that the person wants to improve or stop doing something wrong.
You can use this phrase in ………… language.
Spoken
Informal
Example
A: I used to stay up all night and feel terrible the next day.
B: Yeah, I had to change my ways too.