Yes you need to hire an attorney. And yes, you will have to appear in court even if you have an attorney.
Being placed in removal proceedings is serious. You can be ordered removed from the US, which would result in you not being able to come back for some time. You need to take it seriously.
The fact that your student visa is still valid is meaningless. You status depends on you complying with all of the requirements for the student visa, including attending school full-time and making progress toward graduation. If you have violated the terms of the visa, you are out of status regardless of the expiration date of your visa.