Chop the onion and garlic
Add olive oil to a pan and sauté the onion and garlic
Add tomatoes (or tomato sauce) and bring to a boil
Season with salt and pepper
Crack eggs over the tomato sauce
Cover with a lid and cook on medium-low heat until the egg whites are set