Your rights as father if not married?

You have to prove paternity in court by a DNA test and you can then petition for custody, visitation and pay child support.