Please seek a veterinarians assistance. It could be a variety of things the dog is trying to tell you about. Now I had many funny answers ready as well, but knowing how dear pets are, I'll leave it alone.
They are saying they need a Vet.
My dog and all my others do that everytime they wake up. If one does it constantly I would suspect an ear problem. A vet can usually determine if is a problem in a simple check
Thanks! Your answer is awaiting moderation.