We do not currently know of any antonyms for give oneself a pat on the back.
For similar words to give oneself a pat on the back, try: