I have lost a ton gambling, but I don't know when I try to gamble. When I win, I try to be greedy and win more. But I end up losing everything. Its been going on for a while and I think I have a problem.
You already knows what the problem is, and if you have acknowledged the cause of your problem, you can start fixing it from there. Normally, most gamblers lose more that they win but if you can not control your greed, you will not even have any benefit from the process of gambling, like you said, even if you win, you still continue gambling and that can cause you to lose the money you previously won. So, it's better you learn how to control your level of greed.
Too many peoples facing problem like this because they never know what are doing and how to manage things greediness or chase always kills peoples badly here need some good work for them to have positive mindset.
Peoples those go with their strategy and have better control of their emotions know when to stop and how to manage their loses but peoples those are having no control they have mostly gone down and stay stressful for most of the time due to their greediness and gambling problems.
In many countries peoples have rehabilitation systems which helps them for having control of their gambling problems, but many developing countries are facing terrible consequences due to this because things are not under control and its creating problems for their societies.