Heat oil in non-stick pan, and fry onions and garlic till tender and slightly browned.
Add in spices and salt, and fry for a few seconds before mixing in the crumbled paneer. Cook the paneer for 2-3 minutes, stirring occasionally so that it blends well with the spices.
Take off the heat and mix in fresh cilantro. Let it cool to room temperature.