If you can't afford to hire a decent lawyer to head up your criminal defense, you will be appointed a public defender. While many public defenders do very good jobs, some are more interested in getting through the trial than in defending you. Don't hesitate to protest if you believe your appointed lawyer is doing a poor job.