The mind swings like a pendulum, between one pleasant object and another. To stop the pendulum, the easiest means is to stop winding. That will put an end to the swing. So too, stop encouraging the mind by following its whims and fancies. You must make the mind the servant of God, not the slave of the senses.
(From : Sai Veda, The Word of God, sayings of Bhagavan Sri Sathya Sai Baba)