No, Jesus didn’t need to repent of his sins, because in all the history of the human race He alone was completely sinless. The reason is because He was God in human flesh, sent from heaven on that first Christmas to save us from our sins.
Why, then, did Jesus seek out John and be baptized by him in the Jordan river? (You can read the Bible’s account of this in Matthew 3:13-17.) The reason is because Jesus — who was the sinless Son of God — took upon Himself your sins and my sins, and the sins of the whole human race. Just as He didn’t have to die, so He didn’t have to be baptized — until He became the bearer of all our sins. This He did by coming to earth for us.
In other words, from the very beginning of His ministry Jesus demonstrated that He was the promised Messiah, and (in the words of John the Baptist) “the Lamb of God, who takes away the sin of the world!” (John 1:29). His baptism was a sign of this great truth — and it was confirmed immediately by a voice from heaven declaring, “This is my Son, whom I love; with him I am well pleased” (Matthew 3:17).