The most common and effective way of overcoming withdrawal, is replacing the addiction you have, with another, but one that is not dangerous to you, and is easy to quit.
Your doctor may be able to recommend something to ease the discomfort. Support from family and friends is important. Knowing the pain will be worth it should be a motivator.