explain!

how do i know the difference between if he likes me and we are talking or he is just a friend!!