Pre heat oven to 400 degrees.
In a large, oven safe skillet, heat the olive oil over medium heat.
Add the garlic, smoked paprika, and red pepper flakes and cook, stirring, until fragrant; 1 minute.
Add tomatoes warm them and break them up into smaller pieces. Add beans. Lower the heat to medium low, and cook until sauce has thickened; about 15 minutes.
Season with salt and pepper to taste.
Stir in a handful of baby spinach, if using.
With the back of a spoon, make six indentations in the sauce, add a spoonful of ricotta to each indentation, and then crack an egg over the ricotta.
Transfer the skillet to the oven and bake until egg whites are set but yolks are still runny (the eggs will continue to cook a bit in the pan) about 12-15 minutes.
Garnish with your favorite fresh herbs and serve with warm crusty bread.