get wits about one
get one's wits about oneand have one's wits about one
Fig. to keep one's thinking in order or make one's mind work smoothly, especially in a time of stress. (See also keep one's wits about one.) Let me get my wits about me so I can figure this out. I don't have my wits about me at this time of the morning.