gather your wits
gather (one's) wits
To try to calm oneself and think clearly and rationally. Sir, you've just been in an car accident. Take a moment to gather your wits, then please tell us what happened. If your opponent starts badgering you during the debate, remember to gather your wits before responding.
gather (or collect) your witsbring yourself back to a state of equanimity.
1984 Geraldine McCaughrean The Canterbury Tales Poor old man, he was too astonished to speak. And before he could collect his wits, he was sitting at table…with his lord on one side and his daughter on the other.