Go to a doctor and tell him you're addicted. You have to pay, though.
You go to any doctor in the Wasteland and say, "I'm think I'm addicted to something." He or she will offer to fix your addiction for 50 caps. Pay him or her and voila. You're no longer addicted.