During the last supper, Jesus said that one of the apostles would betray him. "I tell you the truth, one of you will betray me." He said.
Judas is the apostle that betrayed him.
Peter did not betray him, but denied his faith in Jesus. I hope this helps you! :)