The same way that an employed person would plan for this. Catastrophic insurance plans put a cap on how much your medical bills can be.
Oh and catastrophic insurance plans only have to cover pre-existing conditions since the ACA - which one party is actively trying to kill.