get a grip on yourself

Get a grip on yourself is the idiom used when someone wants you to better control your emotions and behave in a calmer manner. This phrase is often used when someone seems to be acting especially temperamental in that they are exaggerating their emotions and the ways they are expressed and not behaving appropriately; in this case, someone will ask them to get a grip on themselves.