Help please

I need help getting rid of a guy that is constantly harassing me on social media and at school. I'm only 15 and so is he. I can't tell anyone because we used to be friends and he knows my secret that no one can know ! EVER . I really don't know what to anymore and I'm fed up and scared that he could ruin my life. Please help . thank you