Hire a child custody lawyer when it is clear the marriage is over, or child custody becomes an obstacle for the family. Parents need advice when trying to complete a child custody agreement. Lawyers will speak with the children, create a document suitable for the court, and mediate when necessary.