Gambling involves betting something of value on an event that is random and has a positive expected value. This includes activities such as placing bets on sports events, purchasing lottery tickets or scratchcards, playing video games and even using the internet to place online bets. The behavior has become so prevalent that it is now considered part of a growing role in the evaluation of patients in primary care settings for addictive disorders.

Most people gamble without any problems, but a small group of individuals develop a pathological gambling disorder. This can have devastating consequences for the individual and their family. It is important to be able to recognize this disorder and intervene as early as possible.

Problem gambling is an activity that becomes out of control, leading to significant negative personal, social and financial consequences for the person. It is a complex condition, and many factors can contribute to it. For example, a gambler may be influenced by their mood and thinking patterns, which can alter the odds of a win or loss.

In addition, some people have a greater tendency to gamble when they are feeling down. This can be a sign of depression or anxiety. People who have these types of mood disorders are more likely to have a gambling addiction and are at greater risk of developing one.

When someone is struggling with gambling addiction, they often lie to their family and friends about the amount they are spending. They may also hide their credit cards and only use cash. They may also feel compelled to gamble more when they are losing money, upping their bets in the hope of winning back what they have lost.

If you know someone who has a gambling addiction, it is important to be supportive. This can help them to recover. You can also encourage them to seek professional help. It is important to keep in mind that you can’t force them to get help, but you can set boundaries around how much they spend and make sure they have access to other forms of entertainment.

Some things you can do to help prevent gambling addiction include avoiding casinos, staying away from online gambling websites and only having a limited amount of cash on you at all times. You can also ask your doctor for help and find support groups for gamblers.

If you are worried about your or someone else’s gambling behavior, it is important to see a mental health professional for an assessment. You can then discuss the options for treatment, which may include medication and psychotherapy. Some people can also benefit from attending a self-help group or peer support program. You can learn how to better manage your gambling behaviors and find healthy ways to cope with stress. You can also receive counseling for underlying mood disorders like depression or anxiety, which can be made worse by compulsive gambling. Family therapy and marriage, career and credit counseling can also be helpful.