Do you have any investments with losses? Realize those losses now. You can buy back in 31 days.
Start a donor-advised fund for future charitable giving.
Bunch up your other tax deductions. Get all the elective medicine you might want. Pay next year's property taxes, not just this year's.
Spreading out gains over several years is generally a good move. However, if the capital gains rates expire with the expiration of the TCJA in 2025, then the rate could increase, depending on how much you are talking about.
Eat it. Enjoy the gain you are taxed on. Know that in 8 months' time, it would likely have been more.