When you win the lotto, take the lump sum payment instead of the annuity.
The annuity option pays a very low rate of return, it's a bad investment.
You can get a better return by investing the lump sum in an S&P 500 index fund.
Most lotteries pay around 4.5% annual return, which is less than you can get by investing in an S&P 500 index fund which has a historical average return of 11%.