In a relatively short amount of time, things will smooth out and you'll feel much better. What you are going through right now is the hardest part, so nicer times are on the way. Keep your chin up and do right by the kids. That's all you can control.
And for your and the kid's sake - don't fall into the role of the vindictive, ex-spouse bashing divorcee who fights with the ex non-stop. Be above all that BS.