36 Simon Peter said to Him, "Lord, where are You going?" Jesus answered him, "Where I am going you cannot follow Me now, but you shall follow Me afterward."
37 Peter said to Him, "Lord, why can I not follow You now? I will lay down my life for Your sake."
38 Jesus answered him, "Will you lay down your life for My sake? Most assuredly, I say to you, the rooster shall not crow till you have denied Me three times.
where are you going? (v. 36) — The disciples still didn't understand that Christ had to die.
where I am going (v. 36) — death and glory
The next record of Peter speaking after verse 37 is his first denial of Christ in John 18:17.
Peter's three denials — Matthew 26:69-75; Mark 14:66-72; Luke 22:31-34
In the original Greek, there is no break between John 13:38 and John 14:1.