Hi...you have many reasons to be in a state where you are currently ,,,,but it's not the end and you have to come out of it.
What you can do is consultant psychiatrist
get started on antidepressants as they may lift your mood. As you have mentioned you had panic attacks and got admitted for the same , you can consult the doctor there only..once your mood get better , start trying to come out of your problem one by one , not all together.
Don't hesitate to ask for help from your near or dear ones....and don't feel bad if they refuse as you are already aware that they may not help, but in this way you may get someone who can help .
Start to get busy once you get your energy back as it will further motivate you to come out of it
Ask your husband to take care of children and to share the responsibility. Use legal methods if he does not listen to you.make list of your problems and deal one by one based on your priority .