Dna while pregnant testing

At what month can you take a DNA test while pregnant to get proof who's the dad before the baby shower and the baby be born