Gambling addiction should be treated professionally. It is not something that is easy to go through it should be regarded as a mental disorder. It is not categorized as OCD which some doctors might try and give you pills for, you have to understand that not much research has been done for it therefore it would be wise to go to a doctor who has knowledge about the subject. Do not try and read about it online and somehow manage it at home.
1. Realize that you need help
2. Get help
Many people often say that it's on the person most of the times but unfortunately that's not the case it's much more complicated than that. Let's be wise and don't try and do Professional things ourselves.
The worst thing of every addiction is to be able to manage this giant issue, when it isn't absolutely true. That's why it is really hard to beat the point 1, and many
players also create a second life in way to continue this evil game. They ususally realize that need help once they've lost everything, when they doesn't have a $
to put a bet, in that moment they understand to be addicted.