What to Do With Your Health Savings Account Once You're Medicare-Eligible

Once you sign up for Medicare, you can no longer contribute to an HSA. How should you manage the transition?