Try covering the skillet with a lid for a minute or so. This will trap the heat and help cook the top of the egg without overcooking the bottom.