An annuity could prevent you from running out of money in retirement, but there are mistakes to watch out for.