To cook the perfect fried egg, pull out an onion or a bell pepper; an onion ring will result in a round egg, while a bell pepper ring will give you a more irregular shape. The trick involves slicing a ½-inch ring from the onion or pepper, placing it in the pan, and then cracking the egg directly into the ring and letting it cook.