I never learned this before but I think it is to first calm down the other person before telling the situation that you have experienced that is similar to him/her because if you just all of a sudden overwhelm them with your story then they will think that you are being more selfish to the situation of yourself than that person.