Xanax is a commonly prescribed medication if you have insomnia, anxiety, or panic attacks. It is usually safe if you take it strictly following your doctor’s recommendations. However, it’s still possible to get addicted. In fact, about 40 percent of people who take Xanax daily will develop an addiction to it. If you happen to