Location: Northern California
I can only speak for myself when I say this, so I do apologize if this is no help at all.
Whenever I sit down and try to figure out anything related to numbers or math or whatnot, it feels like my subconscious covers my mind in lacquer. Nothing makes sense, everything is confusing, and my tolerance level plummets. My friends like to call it my Buzzard Mode, where my shoulders hunch up and my head drops down near my chest just so I can scowl at the world a bit easier.
For me, the best thing I can do to help myself is two fold:
A. Comfort: This is entirely situational. At times our only source of comfort can come from within [that's the next one, though]. In those times where you are capable of controlling your environment, build it as comfortably as possible, but not so much that you'll nod off.
When we are physically comfortable, we are less likely to walk away. It might sound a bit odd since the numbers come with you via your conscious, but the act of putting something down and literally walking away from it is symbolic of giving up. You relieve that pressure, rather than building it. Keep that in mind and always be aware of your emotional and logical reactions. The emotional side will demand you walk away, while the logical side will flip to...
B. Rational Thought Processes: What is going on? Why is it happening? How can I fix it? What happens next? These are internal questions that we silently answer and unless you've trained your consciousness to answer them, you can fall victim to the whispering subconscious. Rather than stopping what you're doing and answering the first question, you might find yourself panicking or too bemused to care whether or not you're truly thinking logically. In the heat of the moment, irrational thoughts can seem no less rational.
I wish I could tell you that these are thoroughly tested by professionals and guaranteed to work, but unfortunately it's nothing more than how I cope. Mind you, it doesn't always work. Sometimes the Id wants what it wants.
Maybe it's because of my own history, but those feelings of anxiety always seem to come up when you feel as though you're in danger. Your subconscious freaks out, worried that it's going to get hurt again, and pops off his magical love grenade of psychosis. For me, it was when I realized my own anxiety was born from that that I was able to design a method with dealing with it.
Then again, it doesn't always work.
Best of luck,