You need to suck it up, go to court, and take care of things. If you had mandatory court hearings or if you presently have bench warrants, you should expect to have to go to court. It wouldn't be a bad idea to consult a lawyer.

Do your best to take care of everything you can before court - I expect that you will not be able to reinstate your license before court but you can, for example, pay your registration.