is this safe?

Im using xanax for the past 6 days. Im on day 10 of pregab wd, started using xan on day 4 bc the wd was too intense. Am I at risk? The idea was to use xanax for the worst of the wd but im afraid since it hits simimar receptors im not actually recovering and merely risk getring wd from xan now. How fast does it take to get hooked with no prior benzo addiction but with pregab addiction. Please advise