There are a few different methods to discourage a dog from licking:
1. Distract your dog with a toy or treat.
2. Give your dog a command such as no licking and reward them with a treat when they obey.
3. Make a loud noise or clap your hands to startle your dog when they start to lick.
4. Apply a bitter-tasting spray or cream to the area your dog is licking.
5. Consult with your vet to rule out any possible medical issues that could be causing the licking.