There is no one prescription pill used to treat anxiety in all dogs, but there are five anti-anxiety meds that your veterinarian may recommend, along with changing the environment and incorporating behavior modification methods.
Source
Top 5 Popular Prescription Medications to Treat Anxiety in Dogs – Dogster

22 Jan