It's really painful when you love someone but he just can't love you back but you should understand two main things:
1) each person has his/her matching
2) loving others is not in our hands but in our hearts which we can't control it as we like but we do our best to