I was in that same situation about 8 years ago. And, I can tell you one thing - don't try to become a medical record transcriptionist (a work from home job). The course providers take your money, give you a certificate, and there are no jobs in that field anymore.
Unfortunately, and fortunately, I finally had to go back to work, and work my way into a position that allows some "work from home". I.e., you do what you would normally do at work, at home. I am a Quality Manager - so writing up reports,sending emails, etc., can be done from home as easily as it can be done from work. So, that's the tricky part - finding an employer that allows work from home. Accounting or tax preparation - those can be done from home, and I have an accountant friend who does most of her work from home, with occasional office time.
The important thing is getting the anxiety under control, which is difficult if you are unemployed - that seems to just crank it up.
I found that gaining an understanding of how my brain works, how anxiety works in my brain, really helped a lot - along with ativan and klonazepam at the beginning when I didn't have a clue as to why I was falling apart.
But, the drugs get you only so far -- use them wisely, like when you really need to calm down for something important. So, I read books about anxiety and Cognitive Behavioral Therapy- reading actually helps reduce anxiety - and reading about how to reduce anxiety kills 2 birds with one stone. Also, learning something new - is a great way to focus your attention and studies say it elevates natural endorphins. Or, maybe try mindfulness. Feeling anxious? - look around the room and just start naming and describing what you see, hear,feel,and smell.
Anxiety is interesting - because in"cave man times" - you or I would have been the Chicken Littles - alerting the clan whenever a twig snapped. Not so useful nowadays. Catastrophic thinking can be wearying. But, think about it - are there really very many actual, real catastrophic situations nowadays?
Your brain wants you to over-worry, too panic. Sometimes you have to not do what your brain wants you to do in order to get to a place where you won't have as much to worry about. Try NOT to go with the flow when anxious thoughts flood your mind. It won't reduce the tendency to go there, but it may reduce the amount of time you spend there.