Chew out (someone) or chew (someone) out

To scold someone roughly.

The teacher chewed out the student for talking in class.