On a 500-day round trip to Mars, astronauts would fly outside the Earth's magnetic field, which largely protects International Space Station crews and the planet from deadly forms of space radiation. Those flying beyond Earth orbit would face consequential radiation risks, including exposure to: Solar energetic particles generated by solar flares or coronal mass ejections from the sun. Galactic cosmic rays from the exploding stars, quasars and gamma ray burst outside our solar system. Shielding and sheltering measures can protect crews from solar energetic particles, but new breakthroughs in lightweight materials are needed to make deep-space missions possible.
Actually, there is also a suitable material of tungsten alloy for radiation protection, for more details, you could visit: http://www.tungsten-alloy.com/en/alloy07.htm.