Therefore that disciple whom Jesus loved saith unto Peter, It is the Lord. Now when Simon Peter heard that it was the Lord, he girt his fisher’s coat unto him, (for he was naked,) and did cast himself into the sea.
So, the disciple that Jesus loved told Peter, "It's the Lord." When Peter heard this, he put on his fishing coat and jumped into the sea to swim to Jesus.