I can't diagnose, but what you describe easily could have been a panic attack. Considering you are additionally suffering from depression, I suspect you will need assistance in progressing from where you are.
California 2-1-1 2-1-1 is not for emergencies; they may be able to direct you to resources available to you.
Please keep posting, Omofca.
__________________
My dog

mastered the "fetch" command. He would communicate he wanted something, and I would fetch it.