Kepler's law states that a line segment joining a planet and the Sun sweeps out equal areas during equal intervals of time. So a planet moves most quickly when it is closest to the sun,as it have to cover more distance in same time but it again slows down as it moves farther away as covering distance is less.