Gambling involves the risking of something of value (money, property, etc.) on an event whose outcome is determined mostly by chance, rather than by skill. It includes games such as blackjack, roulette, baccarat and poker that are played in brick-and-mortar or online casinos, as well as betting on sports events, horse races, dog fights and boxing matches.

The main reason people gamble is for fun, to try to win money or prizes, or as a way to relieve unpleasant emotions. However, gambling can become problematic if it takes up too much time or money, or if you are unable to control your urges or stop when you’re losing.

Research has shown that gambling is associated with several psychological and social problems, including substance use disorders, poor relationships, and financial issues. It may also trigger depression and anxiety. In addition, it can cause health problems such as heart disease and stroke.

There are many ways to get help for a gambling problem, such as self-help groups and support services. In addition to these, there are a number of professional treatments available. These include inpatient or residential treatment and rehab programs, which are aimed at those with severe gambling addictions who need round-the-clock support to prevent harmful gambling behaviours. Other treatment options include family therapy, marriage, career and credit counselling. These can help you deal with the specific issues that caused you to develop problematic gambling behaviour and lay the foundations for healthy relationships and finances.