You can see a lawyer in the detention center for a few days.

Legal analysis: A criminal suspect has the right to entrust a lawyer as a defender from the day when he is interrogated for the first time by the investigation organ or compulsory measures are taken. If the defense lawyer asks to meet the criminal suspect or defendant in custody with a lawyer's practice certificate, a certificate from a law firm and a power of attorney or a letter of legal aid, the detention center shall arrange the meeting in time, which shall not exceed 48 hours at the latest.

Legal basis: Criminal Procedure Law of the People's Republic of China

Article 34 A criminal suspect has the right to entrust a defender from the day when he is interrogated for the first time by the investigation organ or takes compulsory measures; During the investigation, only lawyers can be entrusted as defenders. The defendant has the right to entrust a defender at any time. When interrogating a criminal suspect for the first time or taking compulsory measures against him, the investigation organ shall inform him that he has the right to entrust a defender. The people's procuratorate shall, within three days from the date of receiving the case materials transferred for examination and prosecution, inform the criminal suspect that he has the right to entrust a defender. The people's court shall, within three days from the date of accepting the case, inform the defendant of the right to entrust a defender. If a criminal suspect or defendant requests to entrust a defender while in custody, the people's court, the people's procuratorate and the public security organ shall timely convey his request. If a criminal suspect or defendant is in custody, his guardian or close relative may also entrust a defender on his behalf. After accepting the entrustment of the criminal suspect or defendant, the defender shall promptly inform the organ handling the case.

Article 38 A defense lawyer may provide legal assistance to a criminal suspect during investigation; Acting as an agent to appeal and accuse; Apply for changing compulsory measures; Ask the investigation organ about the alleged crimes of the criminal suspect and the relevant situation of the case, and put forward opinions.