On mars, initial habitation would be underground/in canyons to shield from the radiation. Similar plans for the moon. Of course excavating sub-surface dwellings on another celestial body is currently about as technically feasible as time travel, but that's the heart of the most realistic plans for long-term habitation.