To ensure the white part of the egg is cooked, my little trick is adding a tablespoon of water to the pan and covering it. The water creates steam, which helps the whites cook quickly, leaving the yolk runny. If you like crispy edges around your eggs, omit the water and cook uncovered over medium-high until the edges are crisp and the white is set.