Why is the planet near the sun moves very fast?

Near the Sun the force of gravity is stronger so the planet has more energy which means it has to move faster.