It takes work. When you find yourself doing it, stop. And actually verbally say, "stop".
How about journaling and then adding your good attributes? I am really sorry to hear about what your mother did? That is terrible to do to a child. But you can come out of it.