Paternity

After I give birth can I do a paternity test at the hospital for father. Is it free?