You need to get a copy of your DMV record and see what the ticket is for and which court it is in. If you never dealt with ticket this matter can be resolved by getting the hold lifted off your license and setting matter for arraignment and then trial. An attorney can do this for you.
Unfortunately old tickets and warrants do show up unexpectedly. I have dealt with 2 client matters more than 20 years old that never showed on prior traffic stops. Go to the court where the ticket was heard and set it on calendar, or hire an attorney to take care of it for you.
Seth Weinstein, Esq.
Practicing throughout Southern California
This reply should NOT be considered a legal opinion of your case / inquiry. At this time I do not have sufficient factual/legal documentation to give a complete answer to your question and there may be more to the issues you raised then I have set out in my brief reply.