It is recommended to communicate and negotiate first, and find friends or relatives around you to talk face to face; In fact, if the negotiation fails, we can only go through the procedure and fight for the custody of the children by suing the court.
I hope I can help you!