Raise heat to medium and stir in onion, garlic, ginger and pepper (or red pepper flakes). Cook for a few minutes until onion starts to soften, then stir in the garam masala, coriander, turmeric, salt and cayenne (if using) and cook for 2 minutes more. It will smell so good!