What You Need
1 teaspoon butter or olive oil, or more as needed to coat the bottom of the pan
1 or more large eggs
1. Warm the pan and melt the butter: Place the pan over medium heat. Add the butter or olive oil. Swirl the pan as the butter melts to evenly coat the surface. The pan is ready when the butter begins sizzling or when the oil becomes shimmery and very loose.
2. Add the egg: Crack the egg into a measuring cup and gently tip it into the skillet. You can crack the egg directly into the skillet if you prefer.
3. Let the egg cook for a few minutes: Let the egg gently cook without moving it. The whites will start to set after a few minutes, followed by the yolk.
4. Cook the top of the egg: To be sure the whites are totally set on a sunny-side-up egg, you can cover the pan partway through cooking. The steam from the egg and the butter will gently cook the top. You can also flip the egg over and cook for a minute on the other side. This turns a sunny-side-up egg into an over-easy egg!
5. Remove from heat and eat: When the whites are set and the yolk is done to your liking, remove the pan from heat. Gently slide the spatula under the egg and transfer it to a plate. Eat immediately.