Find the word definition

Wiktionary
get ahold of oneself

vb. To calm down; to stop behaving in an erratic way.