In Massachusetts, paternity can be established through voluntary acknowledgment, a court order, or through genetic testing. Once paternity is established, the father may seek custody or visitation rights.