See if you don't have to appear in court because if you do, it is very possible, especially depending on where you are, that your unlawful status will be uncovered and you can be taken into removal/deportation proceedings.  If you have a way of legalizing your status, I would strongly suggest that you take steps to start that process.  If you do not, either see if you can delay the court date until you can figure out what to do or have an attorney appear on your behalf, or cancel it altogether.