What rights does a father have if he wasnt married to the mother?

1) to pay support; 2) to petition the courts for visitation