darsi una regolata

Etymology
lit. 'to give oneself a correction'.

Verb

 * 1)  to clean up one's act