Back in the days when i had more hope i tried to work against those suicide thoughts. I practice my mindfulness and mindful meditations. I went outside for walks, did some exercising (keeping your body fit helps with getting better), went to therapy (talked about my thoughts, emotions) and tried my best to hold onto the good there is and to not lose hope.
Well nowadays i just try to stay distracted, to consume (multiple) media (at once) and whatever to be distracted from it, to not have to deal with it. Which is pretty much a lie as they come back as soon as i have nothing to distract myself with.