radioactive or by docking with a wreck that is radioactive.
A barrel of decon gel will remove radioactivity, and anti-radiation coating can prevent it.
Several types of stations will decontaminate your ship for a small fee. A Tinker Gathering will also apply anti-radiation coating.