collect your thoughts
US /kəˈlɛkt jʊər θɔts/
UK /kəˈlɛkt jʊər θɔts/

1.
to calm down and think clearly, especially after being upset or surprised
:
•
Give me a moment to collect my thoughts before I answer.
•
After the accident, she needed a few minutes to collect her thoughts.