If he has ignored you, you should wait for a while so you can regain your relationship again. Just give him his space. One of my current friends used to ignore me two years ago, my sophmore year, for a while after I had declared my love to her. But then after a month or two we became friends...