Get your dog to calm down
Get some treats that your dog LOVES
Tell your dog to first Sit.
Give her/him a treat for sitting and praise her/him :)
Hold a treat or two in your hand
Do this and shake her/his paw like you would to a human. Say good and give him/her a treat. Repeat, sooner or later your dog will understand
TADA! Your dog has perfected 'paw'