Sauté onions on low-medium heat for 5-10 mins, until they become translucent. Add peppers, sauté another 10 mins, until pepper strips and onions start to caramelize.
If using fresh tomatoes, chop them finely and let them cook without adding the spices for 10 minutes on medium heat. Then add spices and cook for another 5 mins.