Then, you may be able to work out some arrangements either on your own or with minimal assistance and advice from a mediator or lawyers. Start off by agreeing that all your arrangements will be temporary.
If you are just entering into the process, there is probably too much upset and too little knowledge or information for you to make any long-term agreements You can hammer out a final settlement later on when things have cooled down. Get your immediate needs met.