Behave-oneself Definition

verb

To act in a polite or proper way.

His mother threatened to spank him if he didn't behave himself.
Wiktionary