Takes practice. You need to be self-aware all the time. Get used to being along at the same time, get used to being with other people. When you're with other people use the opportunity to read people, how they act, they talk, and think. When you're along digest those insights and meditate on how you could have handled all the situations better.