When it comes to many aspects of life, the process of testing various things is a good approach. In testing different combinations, one can learn from the different outcomes.
If the tests succeed or fail, one learns something and can carry the information forward. In science, this is known as trial and error. Different experiments produce results, based upon which one gets an understanding of truths about various processes of nature. The same also applies to cooking, wherein one tries different masalas, some of which succeed in satisfying the taste buds, and some fail.