If you are detained, you have the right to remain silent, as anything you say can be used against you in court. You also have the right to hire a private lawyer, or if you cannot afford one, the state will provide you with a public defender.
Immediately upon your detention, you have the right to:
Be presumed innocent.
Contact a family member or advocate.
Remain silent.
Be informed of the reasons for your detention.
Not be subjected to physical harm or torture.
Be brought immediately before the Public Prosecutor or a judge.
Once you are presented to the authorities, they must determine whether the detention is legal or illegal. If it is found to be illegal, you will be released.
If the detention is legal, the authorities have 48 hours to conduct their investigation. If they determine that there is sufficient evidence and no alternative solutions, you must be presented before a control judge.