Anyone who is addicted to gambling already hates gambling and it's obviously because they haven't been able to make any profit so they start hating it and get addicted because they want to make profit gambling. There isn't any particular way to quit gambling it differs from person to person
When you really hate something, do you think you will get addicted? You are not making any sense, that is not possible for you to hate something and still doing it. Also when you gamble, you are most likely losing money. So in the most logical words, you are saying that someone hates to lose money but instead addicted and keep doing it?