user11674: Are there any suttas where the Buddha gives advice how to change one's behaviours, like eating addiction,  mindless eating, addiction to entertainment, laziness and all that? Basically giving in into worldy pleasures.
Thanks

user254: Even something like SN 5.10 might help:

But it’s only suffering that comes to be,
  lasts a while, then disappears.
  Naught but suffering comes to be,
  naught but suffering ceases.

Ask yourself, "Would the cessation of this behaviour be associated with (or give rise to) the cessation of dukkha? Does the existence of this behaviour give rise to dukkha?"
I think that's where it starts, that line of thinking is the essence of what "right view" is.
Then there's SN 56.11 -- for example on page 41 ...


The first noble truth, that is, suffering is to be understood.
The second noble truth, that is, the arising of suffering is to be abandoned.
The third noble truth, that is, the ending of suffering (nirvana) is to be realized.
The fourth noble truth, that is, the way to the ending of suffering is to be cultivated.


... and on page 46:

The first noble truth: suffering (dukkha)
  Suffering should be known (pariññeyya)
  Suffering has been known (pariññāta)
The second noble truth: craving (taṇhā)
  Craving should be abandoned (pahātabba)
  Craving has been abandoned (pahīna)
The third noble truth: nirvana (nibbāna)
  Nirvana should be realized (sacchikātabba)
  Nirvana has been realized (sacchikata)
The fourth noble truth: the path (patipadā)
  The path should be cultivated (bhāvetabba)
  The path has been cultivated (bhāvita)

Then there's MN 61 ("The Buddha teaches his young son"), which starts with being honest, and then,

Whenever you want to do a bodily action, you should reflect on it: 'This bodily action I want to do — would it lead to self-affliction, to the affliction of others, or to both?

As for techniques to overcome withdrawal (more accurately to enable withdrawal, to enable the cessation of craving and attachment), I think there are many -- I mentioned some in this answer e.g.:

Guarding the senses
Preventing contact
Seclusion or retreat (even temporary)
The mental equivalent of aversion therapy and/or dispassion (e.g. seeing "a bag of bones")
And if at first you don't succeed then try, try, and ... try something else!

Also maybe replace 'wrong' with 'right' -- e.g. instead of dwelling on dukkha consider freedom from remorse.

user8157: Dvedhāvitakka Sutta - Two Kinds of Thought


user13709: Although the Noble Eight-fold Path is the all-encompassing way, one often wants specific advice on "defilements". For example, searching SuttaCentral, we have AN6.58 Defilements describing six factors of dealing with defilements. 

Mendicants, a mendicant with six factors is worthy of offerings dedicated to the gods, worthy of hospitality, worthy of a teacher’s offering, worthy of veneration with joined palms, and is a supreme field of merit for the world

The question you've asked is actually quite broad. In fact ALL the suttas answer your question. For example, simply consider that identity view is an unwholesome habit. In this case, one would consult MN8 Self-Effacement. As individuals, we each have our own set of unwholesome habits and it would be best to conduct such a search on a Buddhist Sutta site such as SuttaCentral.net according to your own needs.  
Inevitably, one realizes that relishing is the root of suffering (MN1). Sometimes that is enough to let go and deal. Sometimes we need other suttas for more leverage.

11674: <p>Are there any suttas where the Buddha gives advice how to change one's behaviours, like eating addiction,  mindless eating, addiction to entertainment, laziness and all that? Basically giving in into worldy pleasures.</p>

<p>Thanks</p>
 254: <p>Even something like <a href="https://suttacentral.net/sn5.10/en/sujato" rel="nofollow noreferrer">SN 5.10</a> might help:</p>

<blockquote>
  <p>But it’s only suffering that comes to be,<br>
  lasts a while, then disappears.<br>
  Naught but suffering comes to be,<br>
  naught but suffering ceases.</p>
</blockquote>

<p>Ask yourself, "Would the cessation of this behaviour be associated with (or give rise to) the cessation of dukkha? Does the existence of this behaviour give rise to dukkha?"</p>

<p>I think that's where it starts, that line of thinking is the essence of what "right view" is.</p>

<p>Then there's <a href="http://www.themindingcentre.org/dharmafarer/wp-content/uploads/2009/12/1.1-Dhammacakka-Pavattana-S-s56.11-piya.pdf" rel="nofollow noreferrer">SN 56.11</a> -- for example on page 41 ...</p>

<blockquote>
  <ol>
  <li>The first noble truth, that is, suffering is to be <em>understood</em>.</li>
  <li>The second noble truth, that is, the arising of suffering is to be <em>abandoned</em>.</li>
  <li>The third noble truth, that is, the ending of suffering (nirvana) is to be <em>realized</em>.</li>
  <li>The fourth noble truth, that is, the way to the ending of suffering is to be <em>cultivated</em>.</li>
  </ol>
</blockquote>

<p>... and on page 46:</p>

<blockquote>
  <p>The first noble truth: <em>suffering</em> (dukkha)<br>
  Suffering <em>should be known</em> (pariññeyya)<br>
  Suffering <em>has been known</em> (pariññāta)</p>
  
  <p>The second noble truth: <em>craving</em> (taṇhā)<br>
  Craving <em>should be abandoned</em> (pahātabba)<br>
  Craving <em>has been abandoned</em> (pahīna)</p>
  
  <p>The third noble truth: <em>nirvana</em> (nibbāna)<br>
  Nirvana <em>should be realized</em> (sacchikātabba)<br>
  Nirvana <em>has been realized</em> (sacchikata)</p>
  
  <p>The fourth noble truth: the <em>path</em> (patipadā)<br>
  The path <em>should be cultivated</em> (bhāvetabba)<br>
  The path <em>has been cultivated</em> (bhāvita)</p>
</blockquote>

<p>Then there's <a href="https://www.accesstoinsight.org/tipitaka/mn/mn.061.than.html" rel="nofollow noreferrer">MN 61</a> ("The Buddha teaches his young son"), which starts with being honest, and then,</p>

<blockquote>
  <p>Whenever you want to do a bodily action, you should reflect on it: 'This bodily action I want to do — would it lead to self-affliction, to the affliction of others, or to both?</p>
</blockquote>

<p>As for techniques to overcome withdrawal (more accurately to enable withdrawal, to enable the cessation of craving and attachment), I think there are many -- I mentioned some in <a href="https://buddhism.stackexchange.com/a/19307/254">this answer</a> e.g.:</p>

<ul>
<li>Guarding the senses</li>
<li>Preventing contact</li>
<li>Seclusion or retreat (even temporary)</li>
<li>The mental equivalent of aversion therapy and/or dispassion (e.g. seeing "a bag of bones")</li>
<li>And if at first you don't succeed then try, try, and ... try something else!</li>
</ul>

<p>Also maybe replace 'wrong' with 'right' -- e.g. instead of dwelling on <em>dukkha</em> consider <a href="https://www.accesstoinsight.org/tipitaka/an/an11/an11.001.than.html" rel="nofollow noreferrer">freedom from remorse</a>.</p>
 8157: <p><a href="https://suttacentral.net/mn19/en/bodhi" rel="nofollow noreferrer">Dvedhāvitakka Sutta - Two Kinds of Thought
</a></p>
 13709: <p>Although the Noble Eight-fold Path is the all-encompassing way, one often wants specific advice on "defilements". For example, searching SuttaCentral, we have <a href="https://suttacentral.net/an6.58/en/sujato" rel="nofollow noreferrer">AN6.58 Defilements</a> describing six factors of dealing with defilements. </p>

<blockquote>
  <p>Mendicants, a mendicant with six factors is worthy of offerings dedicated to the gods, worthy of hospitality, worthy of a teacher’s offering, worthy of veneration with joined palms, and is a supreme field of merit for the world</p>
</blockquote>

<p>The question you've asked is actually quite broad. In fact ALL the suttas answer your question. For example, simply consider that identity view is an unwholesome habit. In this case, one would consult <a href="https://suttacentral.net/mn8/en/sujato" rel="nofollow noreferrer">MN8 Self-Effacement</a>. As individuals, we each have our own set of unwholesome habits and it would be best to conduct such a search on a Buddhist Sutta site such as <a href="http://suttacentral.net" rel="nofollow noreferrer">SuttaCentral.net</a> according to your own needs.  </p>

<p>Inevitably, one realizes that <a href="http://suttacentral.net/mn1" rel="nofollow noreferrer">relishing is the root of suffering (MN1)</a>. Sometimes that is enough to let go and deal. Sometimes we need other suttas for more leverage.</p>
