How to get over a boy

Hi I’m 15 years old and I have a crush on this boy. It all started when I was 13 years old, me and him have gotten close over the years and recently he told me that I’m his best friend and that made me really upset that I started crying right in front of him ( so embarrassing) , So I’m asking how do I get over him