Gambling is the betting or staking of something of value with conscious risk and hope of gain, on the outcome of a game, a contest, or an uncertain event. It also refers to activities that require skill that improves the odds of winning, such as card games and horse racing. In some countries, legal gambling is highly regulated and provides a significant source of government revenue.

While most people who gamble do so without problems, a small percentage develop a serious gambling disorder, which is classified in the Diagnostic and Statistical Manual of Mental Disorders as a behavioral addiction. It can lead to a variety of adverse consequences, including serious financial issues.

People who are most at risk for developing gambling disorders include those with low incomes, young people, and men. Those with a history of mental illness are also at greater risk. The onset of harmful gambling is often triggered by a financial crisis such as losing a job, a relationship breakdown or a debt problem.

There are several types of psychotherapy that can help people overcome gambling disorders. These treatments can address underlying psychological issues, such as an inability to handle stress and other emotional difficulties. They can also teach a person healthier ways to spend their time and money, and help them to find other sources of pleasure. One type of psychotherapy is cognitive behavioural therapy (CBT), which looks at the beliefs a person has about betting, such as believing that certain rituals will bring them luck or that they can win back their losses by gambling more.