tell off

Iniciante (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."