Unfortunately, domestic violence exists in some relationships. A threat or physical altercation with your domestic partner causing you to fear for your safety may be a valid basis to seek a protection/restraining order for you to protect yourself.
Such orders apply to children as well, especially when they are victims to such abuse or even witnesses to such domestic violence.
A restraining order or protection order, at the very least, enables the parties to cool off and let a more reasonable approach prevail. Such a restraint may not always be necessary, but it may make the difference between unnecessary and unwanted injury to you or your child.
Knowledgeable legal representation and counsel will benefit you.