Jesus was taken to the high priest with Peter following him at a distance. False witnesses were brought in to tell lies about Jesus.
Peter was outside in the courtyard and a servant said to him “Weren’t you with Jesus?” Peter denied it saying he didn’t know what they were talking about.
Another girl saw him and said “You were one of Jesus followers weren’t you?” Again Peter denied and said “I don’t know Him”
A third time someone said to Peter, “You sound like one of the men who followed Jesus”. Peter got angry and said he didn’t know Jesus.
As soon as he denied Jesus the third time, the rooster crowed and Peter remembered what Jesus had said to him. He left and wept because he’d denied knowing Jesus.