We know that intentionally hurting yourself can be a way to express difficult emotions. Self-harm might be your way of releasing pent-up feelings of distress or anger. Maybe it’s the only way you know how to cope. But there are other ways of coping.
Why don’t you tell a friend about what’s happening? You might be worried about their reaction and afraid they’ll think you’re just looking for attention. It’s very likely, however, that they’ll honour your trust with kindness and compassion.