Paternity testing

My baby dad wants to get a paternity test do they do them in the hospital after the baby is born? Or do I have to go to a separate place after being released from the hospital to get it done?