Get out of hand

Generated image of a horse escaping
To get out of hand means a situation grows beyond control and becomes difficult to manage.

The phrase comes from the image of something leaving your grasp. Once it is no longer in your hand, control is lost.

The party got out of hand once too many people arrived.