How can the defendant go to court without money to hire a lawyer?

Legal subjectivity: If you don't have the money to hire a lawyer but want to go to court, you can apply for legal aid from the legal aid center of the local judicial organ if you meet the requirements. After providing legal aid, there is no need to pay legal fees. Article 36 of the Criminal Procedure Law: Legal aid institutions may send lawyers to be on duty in people's courts, detention centers and other places. If the criminal suspect or defendant does not entrust a defender or the legal aid institution does not entrust a lawyer to defend him, the lawyer on duty will provide legal assistance to the criminal suspect or defendant, such as legal consultation, suggestions on procedure selection, application for changing compulsory measures, and suggestions on handling cases. The people's courts, people's procuratorates and detention centers shall inform the criminal suspects and defendants that they have the right to meet the lawyers on duty, and provide convenience for the criminal suspects and defendants to meet the lawyers on duty.

Legal objectivity:

Article 35 of the Criminal Procedure Law. If a criminal suspect or defendant fails to appoint a defender due to financial difficulties or other reasons, he or his near relatives may apply to a legal aid institution. To meet the conditions of legal aid, legal aid institutions shall appoint lawyers to defend them. If the criminal suspect or defendant is a mental patient who is blind, deaf, dumb or has not completely lost the ability to identify or control his own behavior, and has not entrusted a defender, the people's court, the people's procuratorate and the public security organ shall notify the legal aid institution to appoint a lawyer to defend him. Thirty-sixth legal aid institutions can send lawyers on duty in people's courts, detention centers and other places. If the criminal suspect or defendant does not entrust a defender or the legal aid institution does not entrust a lawyer to defend him, the lawyer on duty will provide legal assistance to the criminal suspect or defendant, such as legal consultation, suggestions on procedure selection, application for changing compulsory measures, and suggestions on handling cases.