How long does one have to take a medication, in order that they get rebound effect when stopping?

Is it dependent on half life?