If you were not married to the other parent at the time the child was conceived, the issues of custody, visitation and child support are folded into what is commonly known as "a paternity suit".
The alleged father has the right to a paternity test using DNA samples. Once paternity is established, the court will treat the issues of custody, visitation and child support just as in a divorce or legal separation.