Once you enroll in Medicare, you can no longer contribute to your HSA. However, you can still use the funds already in your HSA for qualified medical expenses.