The outcome depends on a few factors. How much heroin? What there intent to distribute? The range of possibilities can be scary. A public defender is a lawyer, but not an advisable option if they are going to trial. If you are going to plead guilty, they will be just fine.