Social Loafing — The Temptation to 'Slack Off'

What would you suggest to teachers in order to prevent social loafing? How might you deal with it in a constructive way within the group? How might you handle social loafing on your job?