Controlling your breathing is the first step in regaining control during a panic or anxiety attack.
Keeping some photos that make you feel happy easily accessible goes a long way in easing anxiety
A simple technique I regularly use to try and control the thoughts that become uncontrollable during a panic attack.