Definitely apply for disability--suppose it would be SSDI-that's federal and it takes time, so get started now. Your ex could help you with the process. Safe place to live, safe person to trust. You can build upon that. States have different disability programs.
My ex gets substantial funds from the Veterans Administration. I just printed out instructions for him upping his benefits because now he is not supposed to drive. Down the road, there are many online classes and jobs now you could experiment with, but do the basics first. Use professionals that are experienced with folks w similar profiles.
Be sure to get exercise, eat as healthy as you can. Food stamps? Bean/rice soups are very healthy and a small hotpot cooker might work for you.
YOU CAN DO THIS AND WE ARE ALL BEHIND YOU!