Peer influence is an effective strategy for encouraging people to adopt different behavioural patterns to improve individual and public health.