Are you on anti-depressants and mood medication?
Usually the best thing to do when thinking of suicide it to be around others or at work where you have other responsibilities and let the thoughts slowly leave you. But key is not to let those thoughts come back to you. Do you have coping skills? Do you have a therapist?
I'm here to talk about anything, just message me. I want you safe from yourself.