What would happen

What would happen if a mother wants to place the child for adoption but the father wants to keep it? And the mother doesn't want the father to have custody because he's unfit?