Take (someone) down a notch/peg or two

To reprimand or scold someone who is acting arrogant, to make someone less proud or sure of himself or herself.

The manager took the secretary down a notch or two with his criticism of her work.