you can try to stay away from gambling, try it for 1 or 2 days and see how you react to it. if you fail several times in your attempts, keep trying until you can control yourself not to gamble. but if this method doesn't work, you can try talking to your parents or siblings about how your gambling addiction is quite serious, maybe they can provide a solution or send you to a psychologist for further examination. i hope that your addiction problem can be resolved.
Don't wait for a worst scenario before opening this up to someone who you trust and who you think can help you.
If you are already in a state of depression and thinking about suicide, its about time to seek personal help. Gambling can be very risky if you are too emotional, that's why its very important for every new comers to be more prepared not just on the money they are willing to lose but also to the emotion stress that gambling might give to you.