Here are the ways:
1. Ignore it and get away from it as much as you can.
2. If you can't ignore it, then you can try to talk it out.
3. If that doesn't work, and the bully is still being an asshole, then you'll have to ask someone for help. There are many people you can ask. For example, you can ask someone who has a higher authority than you, like a teacher, and they'll most likely come to your side. If it is only one person bullying you, find a group of friends that you trust and team up against him. He's going to back off if he's up against a group of people.
Anyway, that's my advice. I personally can't do anything to make him back off, but you can.
Stay strong, friend!
Btw sorry if i made any grammar/spelling mistakes lol