Finely chop the onion and garlic.
Heat olive oil in a pan and sauté the onion and garlic.
Add tomatoes (chopped tomatoes or canned tomatoes) and bring to a simmer.
Season with salt, pepper, paprika powder, chili powder, etc.
Once the sauce thickens slightly, make a well in the center and crack in the eggs.
Cover with a lid and cook on medium-low heat until the eggs are cooked to your liking.