You need to get the dog to a Vet. Most likely something has become embedded in the paw. Don't mess with it and try to keep the dog from licking it.