Finely chop the onion and garlic.
Heat olive oil in a pan and sauté the onion and garlic.
Add chopped tomatoes and tomato sauce, then bring to a simmer.
Season with salt, pepper, paprika, and chili powder.
Make small wells in the sauce and crack the eggs into them.
Cover with a lid and cook until the eggs reach your desired doneness.
Garnish with parsley or basil to finish.