An example of a coping resource is exercise. Exercise works to reduce your stress hormones, increase your “feel good” hormones, and improve your physical health. Another coping resource is having structure and routine in your life. Having these in place can prevent your ruminating thoughts from overtaking you by giving you something to focus on outside of yourself.
Finding new ways of coping will help you if you are experiencing suicidal pain arising from mental health challenges. They will also work if your thoughts of dying are related to real-life problems such as going through health struggles, dealing with bankruptcy, addiction, or a family conflict.
With either situation, if you put enough of these coping resources into action, you can decrease your pain enough that you will want to keep on living and move forward to work these problems through.