Is it a civil or criminal case?
If it is criminal, what charge are you facing (traffic, misdemeanor, or felony)?
Did you request time to get a lawyer?
If you did, I suggest you put it in gear, bite the bullet, and hire a lawyer.
Otherwise, tell the court, you can't afford a lawyer, apologize, and ask for one to be appointed to represent you.