Take a pan,put oil into it and heat it.Put onions and 2-3 pieces green chillies into the oil and fry untill the onion remains lite brown color. Then put ginger and garlic paste and fry them 1-2 minutes.Now put termeric powder,red chilli powder, coriender powder, cumin powder,salt(as required) into it and put half cup water.Cook the spices properly for 10-15 minutes.