You've already gotten good advice.
I wanted to add that in several surveys of people who were in reasonably good physical health
and who made serious attempts to end their lives, 99% were very glad, one year later, that they failed. You can learn new ways to think and act, and medications may help as well. Be brave -- choose to live life even more fully than you have in the past.