SSDI: You get Medicare after 24 months of benefits. SSI: You usually get Medicaid immediately.