Modified from CliffsNotes
Pony is confined to bed for a week, still recuperating and trying to remember and understand the events of the past few days. Looking through Soda's old yearbooks to pass the time, he stumbles across a picture of Robert Sheldon. He recognizes the boy, but he needs a moment to realize that this is the Bob whom Johnny killed. He tries to imagine what Bob had been like, and wonders how his parents are handling his death.
Darry tells him that he has a visitor. Pony welcomes into the room Randy Adderson, a Soc. Randy explains that he is visiting because Cherry has heard his name on the bulletin at school and because everyone involved in Bob's killing has to see the judge the next day regarding the death. Randy says that his dad advised him to just tell the truth before the judge. Randy also tells Pony that he regrets his involvement in the fight because it has upset his father. Pony is amazed, because he sees the consequences Randy faces as minimal — Randy's father is rich; he can pay any fine the judge imposes and clear his son of any charges. Ponyboy and his brothers have avoided talking about the upcoming meeting with the judge. This hearing could possibly be the end of their home life together, and nobody wants to accept that possibility.
Pony tells Randy this fear, and Randy advises him to tell the truth. He continues by stating that Pony isn't guilty of any crime and Johnny was the one who wielded the knife. At this pronouncement, Ponyboy erupts, "I had the knife. I killed Bob." Randy is confused but continues to correct Pony and assure him that Johnny killed Bob. Pony repeats, "Johnny is not dead." Darry rescues Randy from this scene and tells him that he must go. Darry explains to Randy that the doctor has said that Ponyboy is still suffering mentally and emotionally and that only time will heal him.