After an arrest strict deadlines apply: you must be admitted to the remand prison within at most 48 hours, and the court then has a further 48 hours to decide on pre-trial detention.
After an arrest under sections 170, 171 StPO you have the right to remain silent. No interview without your defence lawyer. Under section 172 para 1 StPO the police must transfer you without unnecessary delay, at the latest within 48 hours of the arrest, to the remand prison of the competent court. After admission the court will examine you without delay under section 172 para 2 StPO and then decide on pre-trial detention, for which it has a further 48 hours. In total up to 96 hours may pass before a judicial detention order is issued.
What to do now: First, state the name of your defence lawyer at once or ask for a duty lawyer to be contacted. Second, remain silent about the alleged offence until your lawyer is present. Third, do not sign any statement that you have not fully understood.