Definitely vet. Also, more details please. Age, sex and breed of dog. Any recent interations with other animals/objects which may have resulted in injury. Past medical history. Introduction of new food, toys, companions.
You wouldn't ask your MD for a diagnosis without a full medical history. (
not critisism, just fact) Same goes for dogs, only more so, since they can't talk.