Gideon v. Wainwright ruled that a suspected person has the right to an attorney/lawyer. Miranda v. Arizona ruled that the arrested person must have his/her rights read to him (You have the right to remain silent. Anything you say can and will be used against you in a court of law. Etc.). These two cases are intended to help the accused person from self-incrimination.