Here’s some advice from a psychologist based on scientific research.