Shut and lock all the doors and make sure all the windows are locked so he can't get back in.
If your worried for yours or your DD's safety tonight because of him then ring 999 and tell the Police!
If you think he'll stay away for tonight and you feel your both safe then once you've made sure everything is locked I'd try and get some sleep.
If he stays away now first thing in the morning speak to your family,close friends anyone that you have that you can confide in and will help you also give womens aid a ring
They have a 24 hour freephone number
www.womensaid.org.uk/information-support/
They can give you really good advice,they're very experienced and will be able to help you get things sorted out.
The house is in your name so you don't have to or need to let him back in the house,I wouldn't because his behavior towards yourself and your DD has already been unstable so do not let him back in!
Get some support and get family/friends to come round and help you pack up any of his stuff,you can ask a friend/family member if he can pick up his stuff from they're house/garage and if your scared of having any communication with him ask someone else to message /ring him for you to let him know where he can pick his stuff up from.
If you have a joint bank account or he has access to any of yours or your DD's money/savings then I'd withdraw or move(to a different bank/building society) any money that is yours as soon as you can.
I know it's a lot to take in but for now all you need to do is make sure he can't come in the house/make sure you and your DD are both safe and try and get some sleep if you can.
There's a lot of us on here who have been where you are right now,you can get through this I promise and you can be happy again and feel safe again 