Get (something) out of the way

To take care of some business, to do or finish something.

We got our work out of the way and began to plan for the weekend.