You are entitled to an attorney to represent you so when you fgo to court you ask for counsel to be appointed on your behalf. If you are charged with a crime then you are entitled. Now, it is my understanding that a defferred judgement happens only upon a plea or conviction of guilty to a crime.  I am going to give you the link to the Iowa statute.  Please, please, please get help.