tell off

初級 (A2) informal

When someone in charge tells you that you did something bad and is not happy about it.

"The teacher told him off in front of the whole class for talking during the exam."