@TinySun586,
Go to the cops. Go directly to the cops. Do not pass GO, do not collect $200.
Ferchrissakes, this guy has tried to kill you. Your child is afraid of him, and has been hit by him. He breaks windows. He has no sense of self-control.
Next time, you or your child may not be so lucky.
Your feeling that you are worried about him or ruined his life or some other such nonsense is the kind of crap that abusers feed their victims ALL. THE. TIME. It is a classic sign of being an abuse victim, to care more about the abuser's well-being or comfort or happiness than preventing them from hurting you.
If you cannot do this for yourself, then do this for your child. You do not want your child to grow up afraid of people who supposedly love them. You do not want your child to be permanently injured.
Call your family and tell them the whole truth. Ask to live with them and move your stuff out and go (why not stay in your place? Because you need people around you and your ex can apparently come and go as he pleases there. It is not safe for you or your child). Block him on ALL forms of social media. Change phone numbers and locks.
And for God's sake, call the police. Because your love does not give him a free pass to smack you around. It does not give him permission to hurt your kid. You may be afraid or think you deserve it or you are not worthy of love or I don't know what.
But if you have any sense of protection about your own flesh and blood, then make the damned call so your child grows up with a mother. And with both eyes. And without burns on their body. And without fractures. And without thinking this is somehow okay.
Because it
NEVER is.