My last dog was blind for a few years before she died and eventually seemed to be in a fair amount of pain, all of which resulted in very anxious behavior. The vet prescribed alprazolam (Xanax), which was quite effective.