A judge is in German »ein Richter«. And what a judge does in a court of law is to judge. The verb to judge is in German richten:
Ger: Wenn Sie das Theater so weiter führen, richten Sie sich doch nur selbst.
Eng: If you continue to act up, you are only judging yourself.
This means, that if the addressee of this message continues to behave as he does now, it ...