A local criminal defense lawyer can advise you about available options that might allow you to avoid a criminal conviction, and whether you qualify. I suggest starting there.