To calm down; to stop behaving in an erratic way.
To remain calm, reasonable, level-headed, especially in a situation likely to cause distress.