I would never talk to another person the way I talk to myself. No one deserves that.
So! A thing that helped me was to depersonalize my self-hate so it's like I'm viciously ripping into a different person. That makes me feel gross, like a bully or something, and I now do it much less. Gotta have empathy for the stranger that is yourself.