Sorry to hear you are experiencing waves of panic and anxiet - not fun but NORMAL.
You need to find a way to express your panic - jumping jacks, running, walking around the block, etc... This offsets the anxiety. Also working out really helps. I have recently joined a gym and work out way more than ever, it does tire me out and leave me less suspectible to anxiety.
I also see a physician to help me manage, my anxiety was such that I was almost paralyzed. I have a prescription which is amazing and got me through the worst of it. It flares up from time to time but I can manage it better now and function.
Do not quit your job. Anxiety feeds on inactivity. Focus really hard on your job, can you do that? Be really productive and that will help. Plus you need the financial stability in your life right now. This is an area of your life that is not in turmoil. Try to focus on that.