Heat a small nonstick skillet over medium-low (closer to low than medium) heat. Add butter. When butter starts to melt and bubble, swirl it around pan. Add eggs, being careful not to break the yolks. Season with salt and pepper.
Cook for 2-3 minutes or until the whites of the eggs are mostly firm. The yolk will still be runny at this point.
Use a thin spatula to carefully flip egg and cook for 30 seconds more or until yolk has desired firmness.
If you’re not a pro at cracking eggs, that’s okay! Crack them in a bowl before adding them to the pan. It’s easier to fish out any shells that way, and easier to add them to the pan without breaking the yolks.
If desired and you have a good nonstick pan, you can use less butter/oil.