Fry the onions in coconut oil till it’s translucent. Add the spice paste and cook it for 2-3 minutes on low flame.