Do you still call them friend?
When they hurt you try to make them understand that you are no more friends.
If they stop it is all right.
Otherwise go to your teacher or better to principal and tell him the situation.
I hope inshallah it will work.