To Alice- Please do not feel guilty or ashamed for taking medication. You should be proud of yourself for being proactive and looking out for your mental health. The effects of a full blown panic attack can last days, weeks, months. The effects of a xanax? Hours. Don’t be too hard on yourself.