Cook it in small frypan
Low heat with butter/margarine
After the butter melt, crack the egg in,
Add two tablespoon of water, close the pan with a lid
Wait for a minute or two depend in your preferred level of yolk cookedness.
The water help to steam the egg a bit, it will help to cook the egg...