Thinly slice the shallot and mince the garlic. In a large pot, heat the olive oil over medium high heat. Add the shallot and season with the turmeric, cayenne, and a big sprinkle of salt and pepper. Cook for 2-3 minutes until softened. Add the garlic and cook another minute or two, stirring as needed.