The usual method is insurance, or mutual aid societies. Both voluntary, both work just fine.
I'm thinking of it more as a philosophical question. I mean perhaps having a government precludes some peoples definitions of capitalism. The response would be that there will always be a biggest gang and people willing to use aggression which could interfere just as much. So according to that "pure" capitalism is inconsistent with human nature.