I'm going through the same thing, and we are not married and my daughter is 10 months and 1 week old. This is what you have to do. Go down to the court house TODAY!!!!! And get a parenting plan. A parenting plan gives you the right to keep your child until you both go to court and settle on visitation rights. DO NOT give your child back to the father, he can run with her because you don't have a parenting plan or a restraining or ( a restraining order is where the other parent can not take the child out of state or from you until you establish visitation rights. That is crazy, I'm going through the same thing and today I'm going to get a parenting plan and a restraining order so he can't run with her. I have more information if you want it.
Get Sole Custody after the parenting plan and restraining order to keep the child with you.
•Sole Custody. Sole physical custody occurs when one parent retains the exclusive, primary right to have the child live with him or her. Sole legal custody occurs when one parent has the exclusive right to control the child's upbringing. The most common type of sole custody is sole physical custody with joint legal custody and a generous visitation schedule for the non-custodial parent. When one parent ends up with the primary responsibility for the couple's children, the other parent, known as the non-custodial parent, usually has a right to maintain contact with the children through ongoing visitation.
Dont expect much from a public defender, they work WITH the district attorney and will not cause any animosity amongst their coworkers or piss off any judge for your sake. Ive seen it way too many times. I actually persued a major in juris prudence until i started reading case files. Man, what a dirty business. In states (mostly southern) putting innocent people behind bars was no big deal. I actually read one case that was stated on the record that "factual innocence is not a determining factor for guilt or innocence" i almost barfed right in the library. Try to get your public pretender to file a 995 motion to eliminate as much 'evidence' against you. Once the district attorney sees that they actually have to prove a propensity of guilt they might be willing to simply move the charges to a misdemeanor. I hope you're not in Florida, Texas, Nevada, Arizona or California. The annual budgets for incarceration in the sunshine states is in the billions and they intend on keeping it that way. To hell with you being guilty or not. They truly dont shive-a-git.