The type of Pokemon you get depends on the kind of egg you have. The rarer the egg, the rarer the Pokemon.