typically, when making an indian curry, i heat oil, add whole spices, then add and cook onions, add and cook ginger + garlic, add dry spices + tomatoes, and cook the meat in the sauce.