to tell sb that you disapprove of their behaviour or are angry with them
give sb a piece of your mind
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition