Sometimes. You could face legal consequences if you don’t do what the subpoena orders. You can be held in contempt of court, and a judge could issue a warrant for your arrest.
Not all subpoenas order you to appear in court. If you have questions about what it is that you need to do, you should contact the person who issued the subpoena.