I used to have terrible anxiety and racing thoughts. One simple trick that helps me is to look around the room and say, out loud, what you see. I know it sounds strange, but it takes your brain and refocuses it on something real and grounded. I also find that running ice cold water on my hands helps.