Get (a) hold of oneself

To get control of one’s emotions.

We asked the man who was crying to try and get hold of himself.