I am so done with life atm.

I worked for over a year at another company and even had a permanent contract. Then I got a job offer way closer to home and decided to take a big risk and resign from my previous job. Yesterday I got fired with no reason at all; I was still in my trial period so they can fire me over whatever.

I was so open about them about everything. My anxiety, my panic attacks and my fainting issues (conversion disorder). I have no clue what to do now and I feel totally demotivated. I f'ed up my life big time.