Seek help if you feel you are no longer in control. Make a phone call to a friend or go out and speak with someone.
When it comes to regulating how far our betting/ gambling habit has gone, it's necessary to understand that you can't stop it that easily all by yourself. It gets worse when you have an associate who regularly comes in and you'll go out together to gamble. You will need to speak to a friend or family member and ask for his guidance. If possible, you can tell the person to regularly check up on you and bring up the conversation regarding how your gambling habit has become - if it's either becoming addictive or not.
There was a time when I became too addicted to social media and was always on it uncontrollably I didn't notice it that quickly but my friends observed that I was always online and we spoke about it and that helped me to cut down on that habit.
When you have someone that can monitor your excesses, it goes a long way in protecting you from negative things.