When should a substitution for a particular item that is different from the plans and specifications be made?

When should a substitution for a particular item that is different from the plans and specifications be made?