Iron out (something) iron (something) out

To work out something, to solve a problem.

We have ironed out all of our problems at work and we are doing better now.