Ever hear of a technique called "thought stopping?" When a negative, self-defeating thought goes through your head, CRUSH IT. Scream "STOP!!" And immediately force your mind onto something else, even if it's reciting the alphabet backwards.
I don't find it very useful to try to argue with self-pitying thoughts. It works better just to squash them.