If they're not likely to hurt themselves, I normally don't say anything. However, on squats, deads and dips, I'll let them know if their technique is incorrect or they're not doing full range of motion. I've been told to fuck off a couple of times, but I've been thanked many more.