You go to the head of the school & tell the fact. Do tell your parents as well.
Inshallah problem will be solved
In future do not react in this way. B/c it will create rage & then fight.
If he said buffalo, you can reply that what name you like for yourself. That is better reply.