collect (one's) wits
To try to calm oneself and think clearly and rationally. Take a moment to collect your wits, then tell us how the accident happened.
collect your wits
or gather your wits
LITERARYIf you collect your wits or gather your wits, you make an effort to control yourself and become calm again, after a frightening or shocking experience. I took a deep breath and tried to gather my wits. The news was so shocking that I was scarcely able to take it in. Sinking into a leather armchair, I attempted to collect my wits and decide what on earth I was going to tell Lucy.
collect/gather your ˈwits
try to become calm and think clearly: After such a shock I found it difficult to gather my wits.