cuò​zhì​yǒu​fāng

to handle a situation appropriately