Anxiety in dogs is commonly triggered by loud noises such as fireworks, stressful environments such as the vets or separation anxiety.
It is important to understand the triggers and if it is something which can be avoided, then removing your four-legged friend from the situation that causes anxiety will instantly help.