Start with calming down.
You lost your job through no fault of your own. It happens and it won't be held against you. What you do now is diligently look for a new job. Keep a log of all the places you apply or contact with the results. Take this with you to any PO meeting or court hearing.
Showing you are trying is likely going to be acceptable. You can't make somebody hire you so you are doing everything you can to get a job.

