'remember oneself' definitions:

Definition of 'remember oneself'

From: WordNet
verb
Recover one's good manners after a lapse or stop behaving badly; "Please remember yourself, Charles!"