have/keep (all) your wits about you idiom
保持头脑冷静;随机应变
to be ready to think quickly in a situation and react to things that you are not expecting
Cycling is potentially very dangerous in the city - you have to keep your wits about you. 在城市里骑自行车可能会非常危险——你必须保持清醒的头脑。