If you were convicted in state court, you have an automatic right to an appeal in the state court of appeal. You have a right to appointed counsel, and the state court will consider any issues raised by you and your attorney. When you file a federal habeas petition, you may only raise issues related to constitutional violations, and you have no right to the assistance of counsel.