entendérselas

Verb

 * 1)  to deal with (something); to sort things out