Give (someone) a piece of one’s mind

To scold or become angry with someone.

When I met my friend yesterday, I gave her a piece of my mind.