Hi there! I am not a Dr. But it sounds like you have answered possibly some of your own questions, you might have got hold of some bad or different stuff or took it when your anxiety level was about to rise, something might have been going on in your sub-conscious that took over, it is really hard to say but you are definitely not alone in this anxiety situation, if you are not any better I would go to the dr and tell him the truth, a dr cannot treat you unless he knows the whole truth. Their could be a lot of things going on in your system it could be an imbalance or a lot of things put together, including the drugs. Just do your best to stay clean.
The best to you and we are here for you!