As Sirona explained above, we only need to keep the mind in a state of equilibrium and should not crave for objects that are pleasing to our senses.
Its like living the life of a monk.
Abstention from all kinds of pleasurable activities like sex, wine, eating excess food, shopping, watching movies, playing video games, partying etc. should be practiced.
Some control their cravings by taking the path of bhakti (love and devotion towards God) while others practice meditation.
In my opinion, the path of meditation is not for everyone. Not only our minds are polluted due to Lord's energy Maya, but our minds are also very restless. Countless thoughts (both good and nasty ones) are coming and going all the time. It is hard for us commom men to subdue the mind.
That's why, in order to purify the mind from all sorts of nasty unwanted thoughts, Lord Krishna/Vishnu has prescribed in Gita the path of karma yoga at the end of chapter 2 and the complete chapter 3 as well.
Karma yoga is nothing but doing one's wordly duties without craving for the results or fruits of our actions. By doing so one purifies and calms the mind. Only then he becomes eligible for meditation.
Bhakti yoga is another path, (it is the easiest method) using which we can purify our inner selves.
I was a hedonist all through out my teens and twenties. Couldn't live without masturbating for more than 3 days.
I had a real hard time controlling my sexual cravings. Then in my early 30s i started to restrain myself from all sorts of pleasurable activities. At first it was really hard. The more i said to myself, that i won't indulge in them, the more i ended up doing them. lol.
Then i was introduced to vaishnavism and their path of bhakti yoga. I tried that path for a couple of years but it didn't suit me because no matter how much i prayed to the Lord. He didn't answer my prayers. So i took the path of jnana (knowledge) and started reading scriptures. This actually helped me in getting rid of all worldly desires. The more i indulged myself in deep studies, the more i felt purified from inside. The sexual cravings don't bother me anymore.
But i'm still working on other cravings (like collecting comics and having pizzas with extra cheese etc.)
Maybe one day i will succeed.