This process is quite difficult if you have already developed an addiction. Modern online operators are trying to help players by adhering to some additional security measures. These measures may include restrictions on the size and frequency of deposits; the ability to limit games temporarily; setting the reality check mode (from time to time, a reminder appears on the screen about how much you have already played); possibility to block your account for a while, etc. If these steps do not help you and you keep playing, seek professional help.