How would humans deal with energy generation on Mars?
Nuclear! While there are many viable options for power generation on the surface of Mars, in 2024 NASA made a decision to use nuclear power as the primary surface power generation technology for crewed missions to Mars.
For more information on that decision, you can check out the Mars Surface Power Technology Decision. -NP & BH
How would astronauts deal with radiation?
Radiation is a significant challenge for human spaceflight missions.
Generally, radiation can be controlled through a few common methods: shielding, sheltering, and managing the mission profile. NASA has standards about how much radiation is allowable for a given crew member exposure. Most spacecraft employ radiation shielding in the spacecraft design that provides passive protection from Galactic Cosmic Radiation (GCR).
Additionally, crew may have a shelter to protect from Solar Particle Events (SPE). In this case, crew would know when an SPE event is going to occur and get into the shelter for protection. In addition, the sun goes through phases where more or less radiation is emitted. A mission could be planned around these lower radiation periods or just planned to be shorter in general.
Ultimately, there's likely not one solution to solve the radiation problem but a combination of many methods to meet the mission needs. -NP & BH
Does the perchlorate dust mean that astronauts would be confined to their spacecraft like on a submarine?
Perchlorate dust is a significant health concern for crew. In general, crew would need to don Extra Vehicular Activity (EVA) suits, or spacesuits, to protect themselves from Mars's atmosphere and environment when going outside of their habitat.
When crew return to their habitat after an EVA they may need to perform operations, like cleaning the EVA suit, to limit the spread of dust inside a surface habitat to prevent direct contamination of crew and systems. -NP & BH