In most bankruptcy cases, you only have to go to a proceeding called the "meeting of creditors" to meet with the bankruptcy trustee and any creditor who chooses to come. Most of the time, this meeting will be a short, simple procedure where you are asked to verify the information on your schedules and statements and to answer a few questions about your bankruptcy forms and your financial situation.
It is rare to have to appear before a judge at a hearing. This will only happen if complications arise, or if you choose to dispute a debt. If you need to go to court, you will receive notice of the court date and time from the court and/or from your bankruptcy attorney.