Xanax is the medicine to treat panic disorder and anxiety. This drug produces calming effect by effectively working on the brain muscles and the central nervous system.