A dog who licks compulsively may have skin allergies

How to stop an anxious dog from compulsive licking
A dog who doesn’t get enough exercise may excessively lick themselves