It varies depending on the location and type of gambling activity. In some countries and states gambling is entirely legal and rules are available from government bodies. While it is prohibited or restricted in some areas. In general, some forms such as lotteries, sports betting, and casino games, require a license or permit to operate legally.