Well, it depends.
If the dragon you speak of evolved from certain creatures, then the egg would have come first to give way to the existence of the dragon as you know it. The egg theory still applies if the dragon's egg came to existence magically or whatever.
But if the dragon itself came into existence without ancestors, then the dragon came first.
But if the dragon itself came into existence without ancestors, then the dragon came first.