As usual, plenty of ss disab misinfo here - it my computer is fucked up and I’m not gonna write a treatise on my phone.
If op just lost his job he likely is eligible for ssdi. Easiest way to build a case is start alleging and seeking treatment for a condition with no clear objective signs. Like migraines or anxiety. (Of course some folk actually are disabled by such conditions- but they can be faked.)
Go to the ER saying you want to kill yourself due to your unbearable migraines and anxiety/depression/whatever. Get committed. Then build a record by seeking treatment, telling the same story to pain docs and counselors. Maybe make another ER visit in a month or 2. Then apply for SSDI.
No, I won’t likely pay you, but one of the judges in our office pays 88% of the cases he hears, so if you draw him, your chances are good. If you lose, apply again. Figure out why you were denied, and make up some bs to address that.