To cause someone to feel embarrassed or guilty about something they have done.
If someone shames another person, it is usually a bad thing because it makes the other person feel bad about themselves.
Examples:
She shames him for not doing his homework.
He shames her by telling everyone her secret.
The teacher shames the student for being late.
He shames his friend by laughing at his mistake.
It shames me when I forget my lines in the play.
The dog shames the cat by catching more mice.