Depends on person
Depends on how much of a habit you had, and how long your were taking it, as well as your own individual biology.
In general, sleep problems persist for a week or two, then generally get better. Avoidance of caffeine
, especially after noon, good sleep hygiene
are generally adequate. Chamomille tea and other natural agents may help. Avoid sleeping pills since they will make it worse later.