Do you think your pup is in any pain? Anything in it's paw?

If this is sudden, I would watch the dog while acting in a very
calm manner & see if you can pick up any clues as to the cause.
Does the dog eat & drink?