Make (something) right/good

To replace or restore something.

I worked hard to make my relationship with my friend right.