Jesus was baptized when He was on the earth, and we do this to follow His example.
When Christians are baptized, they are submerged under water to identify with the death and burial of Jesus and raised out of the water to identify with His resurrection.