How do I know whether to use the permutation formula or the combination formula?

If the order of the objects chosen is important use PERMUTATIONS.

If the order of the objects chosen is not important then use COMBINATIONS.