Custody

If you're not married, how does custody work with a newborn ? The dad obviously can't breastfeed and such.