Drugs such as Xanax (alprazolam), Klonopin (clonazepam), Valium (diazepam), and Ativan (lorazepam) work quickly, typically bringing relief within 30 minutes to an hour. That makes them very effective when taken during a panic attack or another overwhelming anxiety episode.