I am sorry to hear about the difficult time you have been having.
The IVF treatment would have been bad enough, but the breakdown of your marriage and having to move back in with your parents are huge emotional events as well. No wonder your health has suffered as a result.
Have you received counselling? You need to concentrate on getting yourself better in order that you can cope better with what life has thrown at you.
You will get through this, and you will be a stronger person because of it.
When you feel up to it, arrange to see a family law specialist, as per others' advice. Do you have a friend who could be present with you, to give you moral support?
Good luck.