I understand what you're talking about @LUCKMCFLY and it happened to me in the past too
one thing that helps me is writing, it removes a bit the burden of thinking too much and helps me to understand my thought process
trying to balance other areas of life too with healthy habits helps a lot as wel (sleep + eat well + exercise goes a long way!)
Yes, that is what is always done trying to lead what we call a healthy life, and it is easy to heal in this way, above all by sleeping well, because3 sometimes it is like they say where I live, "Living is in the dromir " So these are things that should be given, also one way is to share with the family, go out, those who have the beach nearby is also a very good way to clear the mind, go out and walk in the mountains, see that the environment sometimes can offer you other options to move forward, sometimes a good clean oxygen is very good, really clean air is the best of all therapies that may exist and that any psychologist.
When we follow a healthy lifestyle, it gives us a good mindset and removes any forms of negativities which can be caused by inappropriate gambling. It is only hard though because it also requires a self discipline so don't say that it's easy to heal this way but it's worth it because let's admit it, its always better to live happily even if we sacrifice something which isn't really beneficial to us in the long run like gambling (if only we missed used it).
Other than eating well and then exercising, I think sleeping is the most important of all because this is where recover and grow. Lastly, unwinding by taking a vacation can also do wonders. This is better if enjoyed with family, friends and relatives.