What should I do?

So, I've liked this lad for a few months now he is in the year above me and we haven't really spoken to each other. I would like to tell him but he is always with his mates and I'm not confident to go up to him and say that I like him. I thought of messaging him but I thought that would be weird. What should I do?