Despair and Suicide in Islam

How can a person suffering from suicidal thoughts bring themselves back from the brink? This can be achieved in many ways; firstly by strengthening one’s relationship with God. This is achieved by reading the Quran, being mindful of Him and making lots of du’a (supplication) to God.