get down on

中上級 (B2)informal

To say bad things about someone or to blame yourself for something.

"Don't get down on yourself just because you made one mistake."