Generally, by law, the mother gets custody if the couple is not married. In practice, everyone tries to work out a situation for the best. Sixteen year olds are woefully unprepared to provide economically for a child, so help in terms of housing, babysitting and so on is needed if the parent is attending school or working.