Heat a pan over medium heat and add the oil. Once the oil is hot, add the chopped garlic and saute until it becomes lightly golden and fragrant.
Add the diced carrot and cook for 1 to 2 minutes, stirring, until it starts to soften. Since carrots take longer to cook, this step helps them cook evenly.
Add the capsicum, Anaheim pepper, and diced onion. Saute on medium heat for 2 to 3 minutes until the vegetables are slightly tender but still crisp.
Add the paneer cubes to the pan and gently mix them with the vegetables so they are evenly coated.
Sprinkle in the chili flakes, oregano, black pepper, and salt. Saute for another 2 to 3 minutes, then turn off the heat.