Im sorry, but this is sounding pretty complex.
"He was here with my BF..." and "I was out with my BFF DH" and "...this has happened before." and "restraining orders have flown the coop..." and so on and so on... The only thing not mentioned was alcohol or drugs.
Im not advocating violence, nor blaming the victim and I dont want anyone to be hurt, Sonia. This can get worse, I fear.
But Im hearing alot of personal choices gone awry here. You've heard, "You are what you eat." Well there;s a little known corrolary that goes "We are what we choose to do."
I want you safe and comfortable in your life. It is the worst sort of life to always be looking over your shoulder. It is just as bad for your child.
Please get some distance between you and he, stay away from one another and seek some competent relationship counseling and learn what it is both you and he have chosen to bring you to where you are. These things don't happen out of the blue and it always takes two to tango.