Paternity tests

Where can I get one before the baby is born? Asked my dr, and he said I would have to wait until I give birth. Are there any tests that can determine it before the baby is born, really stressing out and just want to know