If a married man has an affair and gets the other woman pregnant what rights does that man get?

To support the child and to be his dad and share the custody.