(For transparency I am F) Hi hi, sorry and thank you in advance

I have a friend who is dad to several kids and he is in a very bad spot with his wife. He stays because he's afraid of losing his kids, state is more likely to give custody to moms and all that. Basically, where can I point him for help? Help figuring out how to keep in contact with kids, how to decide if it's time to break it off and how, etc etc?