In the social media age, it seems impossible not to measure ourselves against others – but we can dodge the worst pitfalls ...