Gambling is an activity in which participants risk money or personal belongings for a prize, typically one that depends on luck or chance. The term is often applied to activities involving cards, dice and other table games, but it can also include betting on sports events or elections, lottery tickets, scratchcards, online poker and fantasy leagues. People may gamble in person or through a computer, and the Internet has made gambling more accessible than ever. The compulsion to gamble affects people of all ages, but it is most common in young men and those with other addictions or mental health conditions.

People can find themselves unable to stop gambling even when they realize it is causing them harm. Problem gambling can negatively impact relationships and finances, lead to depression or other mood disorders, make it difficult to study or work, and even cause people to break the law. According to Public Health England, gambling can also increase a person’s risk of suicide.

The most obvious way to get into trouble with gambling is to lose control of spending or other financial matters, but this can also happen when people are using gambling to cope with feelings or situations that are uncomfortable or distressing. For example, they might use it to relieve boredom or to socialize with friends, but there are healthier ways to do this, such as exercising, spending time with healthy people who don’t gamble, or learning relaxation techniques.

Many people enjoy gambling for social or entertainment purposes, but if it becomes out of control, it can cause serious problems. People with gambling disorder are more likely to have other psychiatric problems, such as depression or bipolar disorder, and those who have a family history of gambling addiction are at greater risk. They are also more likely to have a low income, and are more susceptible to becoming trapped in a cycle of debt.

If someone you know has a problem with gambling, it’s important to talk about it and offer support. If they haven’t already, encourage them to seek treatment from a specialist or counselor. Counseling options can range from individual and group therapy to family, marriage, career and credit counseling. They might also consider joining a peer support group, such as Gamblers Anonymous, which is based on the 12-step recovery model used by Alcoholics Anonymous. Research suggests that regular physical activity can also help with gambling addiction, and it can be beneficial to learn new hobbies and spend time with friends who don’t gamble.