The law would presume that the other man is the child’s legal father. Unless everyone agrees that you are the biological father, you would need to bring a paternity action, and all the parties would be involved in this process. A DNA test may be performed on all parties. As you can imagine, this type of situation is very complicated and requires the careful guidance of an attorney with a clear understanding of paternity law.