The parent who wishes to seek custody of the child must file the petition before a family court judge, ideally with the assistance of a family lawyer who specializes in child custody cases.