remember oneself

Verb
  1. recover one's good manners after a lapse or stop behaving badly
    • Please remember yourself, Charles!