He is a shit and my commiserations to you that he is the father of your child.
Unfortunately you can't make a silk purse out of a pig's arse. So you are on your own tonight.
Plonk your 18 month old in front of the tv, put her to bed in her clothes, don't worry about teeth brushing or handwashing or anything tonight. Give her cereal or chocolate for dinner. Ditto yourself.
Take as many painkillers as you are allowed and keep taking them (as in every 4 hours or 6 hours or whatever.
If my neighbour called me in this situation, I would step up so maybe consider reaching out. Ditto if your child is in nursery, is there anyone there at all you know that you could ask for help? If it was a family member I would drive a fair distance to help them out.
In the future, given what a dead loss he is, I think you should think seriously about building your own network - really reaching out to other single mums/living closer to family/etc. But that is for the future. For now you just have to get through tonight and tomorrow.
I do fervently pray that someday he has a cut on his prick and a rip in his balls and someone tells him to grow up and stop the waterworks.