I don't think there is a definite answer to this question as regarding your thread topic but I believe that there's no age limit for having fun as long as you're healthy. Personally, if I should give a general answer, I would say that a person's individual circumstances are more important than their age when it comes to deciding whether or not to retire from gambling. At old age, there's a lot of health challenges and one's health is an important factor to consider while gambling. Gambling can be stressful and lead to anxiety and health problems if it becomes too much of a focus in a person's life. Aside this health challenge, one can gamble until you wish to stop.
No prior age set regarding on what age should a gambler retire from gambling since each of us have different approach regarding on this discussion since some can easily quit because they think they are done already since they are financially drained due to big losses they encounter from gambling. And some still gamble even if they are old since they think its still good for them since it challenge their mind and get the fun that they want especially when they are at home without doing anything. Gambling can really be stressful if done in wrong manner since if a person is doing crazy decisions while betting for sure they would think about those hardships and how to recover their lose then even decide to chase. But if they are there just for fun since start of their sessions provably with this attitude they can be happy whatever result they can get after they end their games.
I really can't tell at what age you should stop because as I said above it depends on yourself how long you want to contribute to the activity, but in my opinion if indeed the activity only causes a lot of problems it is better from now on you intend to stop, especially those who are already addicted, because as we know quitting gambling is very difficult friend, and it is impossible to do suddenly, so it is better for you from now on to reduce these activities so that in the future slowly the action will reduce your interest in gambling and finally you can stop. Yes, gambling is very challenging, not least because there is a chance of winning and the risk of losing, but obviously the risk there is far greater than the chance of winning, and if you gamble just for fun, in my opinion it doesn't matter because the sensation that is caused is quite pleasant and yes as long as you remain firm on your self-control, do not end up addicted because it is very dangerous and I'm not sure you can survive in such conditions which of course will be a lot of pressure you feel.