This question already has an answer here:
If not for the earth's magnetic field our atmosphere would be bombarded by high energy plasma (ionized gas) from the sun and other space sources.
Much of these particles have more energy than the protons accelerated in the large hadron collider.
At very high altitudes and orbital altitudes this protection is less and when space travel takes astronauts out of range of earth's magnetic field there is no shielding or protection.
Does the International Space Station or other craft have an artificial magnetic field to protect its astronauts? If not are there plans for implementation?