Medication prescribed by your veterinarian: trazodone (brand name Desyrel®), gabapentin (brand name Neurontin®), and alprazolam (brand names: Xanax® and Niravam®) are examples of medications that are sometimes used to reduce the anxiety that some dogs experience when traveling.