When my therapist was around we were working on this(she's on maternity leave). We didn't get very far, so I do not have any good advice. I know all the usual, look at yourself as you do another. Cut yourself some slack. Turn that compassion inwards. It's just so difficult. You'd have to catch it right in the beginning of the negative thought.