This is a very difficult topic. There is a theological debate about this subject, but the topic becomes different when someone in your family, who struggles with demonic torment, takes his own life or dies by overdose. There are cases of suicides in the Bible: Saul intentionally fell on his sword, Samson pulled the temple down on himself, Ahithophel strangled himself and Judas hung himself. All these people are seen in a very negative light in the Bible.
Prophet Elijah prayed "It is enough! Now, Lord, take my life, for I am no better than my fathers!” (1 Kings 19:4). And the apostle Paul told the Corinthians that his trials were so difficult that he "despaired even of life" (2 Corinthians 1:8).