here's the golden rule: wait until almost all the whites are cooked and set (meaning they go from clear to opaque). you want to cook the eggs undisturbed until there's just about a half-inch of unset whites surrounding the yolks. once the whites are ready, it's time to flip.