I change sewing machine needles when:
The needle seems dull or snagged - the machine just sounds different
When the fabric is different from what I had been working with: Example - Hemming denim jeans to sewing lace on nylon tricot - I go from a denim needle to a small ballpoint needle