Heat olive oil in a pan over medium heat. Add minced garlic and sauté until fragrant, about 1–2 minutes.
Add tomato sauce, red pepper flakes, salt, and pepper to the pan. Simmer for 5–7 minutes, allowing the sauce to thicken and the flavors to meld.
Create small wells in the sauce and crack the eggs into them. Cover the pan with a lid and let the eggs poach for 5–7 minutes, or until the whites are set.
Once the eggs are poached, garnish with fresh basil and parmesan cheese. Serve immediately with crusty bread on the side.