Finely chop the onion and garlic
Dice the tomatoes
Add olive oil to a pan and sauté the garlic and onion
Add tomatoes and season with salt and pepper, then simmer
Make wells in the sauce and crack eggs into them
Cover with a lid and cook until the eggs are set
Garnish with parsley or basil