Help me!!!

So yesterday me and my child's father got into it like really bad he hit me and pulled my hair because I was looking at other guys but me and him haven't been together since April 2017 and I can never bring myself to hit him or get someone to do something to him because I really love and care about him. He always say he loves me I think it's insecurities but at this point I just don't know on one hand I want to walk away but on another hand it's like we have a child together and I wanna be there for him. Can someone give me advice that been though this before?? Like should I ask him to come over and talk about what happened so we can move forward as parents or just leave it be and walk away from it all??