I try to remind myself of that whenever I am anxious. Sometimes it helps, sometimes it doesn't. Meditation has also had some positive effect, as has CBT.
But man does it feel weird that my brain is aware of its own misbehavior and yet can't master it.