If it was court hearing and you did not attend, you need good reason why you were not there (such as you didn't know about it because you had moved. Never got the summons) contact the court and ask to make a statutory declaration, to have the conviction set aside. But only if you are telling the truth as perjury is much more serious.