Obviously I'm no expert and might be wrong, but these things have helped me..
- distract yourself with things you love like taking a walk, talking to a loved one, cuddling an animal...
- remember you have survived every single bad day so far because you are strong and born to live, not die
- also remember that everything passes and no matter how much pain you are in, it will fade away in time just like it has in the past
- think of the pain you leaving would cause to others, it's because you are loved. Your life is not your own, it belongs to the people who care about you
- drown your sorrow in art whether it's listening to songs that make you feel less alone or being productive and creating art of your own
I don't know you or your situation, but if this is something that you've been feeling for a longer period or time, please look for help.. talk to someone trustworthy. These days, there really are many options.. and needless to say, you can talk to me anytime whether it's chit chat or serious talk. You will be okay, please take care of yourself <3