My husband hit me and almost hit my son

Sa

Is it illegal to leave my home with my son after my husband hit me? I’m so scared. I don’t wanna let him near my five-year-old because it’s unsafe. What do I do?