DNA Test?

Does anyone know how they perform a DNA test on a baby after its born and how long the results take to come back?