Contact a criminal defense attorney and discuss your options with the attorney. An experienced attorney will know how to handle the matter so that it will not come back to haunt you in the future. Since that amount was under $50 you are looking at a class c misdemeanor which if you get and complete a deferred adjudication probation you will be able to get the case expunged
Contact a local attorney to assist you. Theft under $50 is a class C misdemeanor. There are options to keep this off of your record permanently. You will not get a court appointed attorney for a class C misdemeanor. You will not know if you can afford an attorney until you call and speak with a few. Many offer reasonable prices and payment options for a class C misdemeanor.
The class C will be eligible for expunction if you are able to complete deferred probation. Good luck!
The information provided is not advice but a legal perspective and you should schedule a consultation with the lawyer of your choice.
I agree with my colleagues. A Court appointed attorney is out of the question for a Class C. Your best bet is to hire an attorney to handle this case for you.
My answers are not intended as anything more than an educational response to generic questions posted on this site.