If you are painting a radiator that still works and is used to heat the home, the primer and paint should be rust resistant and able to withstand the high temperatures that radiators generate.
While you may assume that you need to call a plumber to get the job done, it’s very easy to learn how to remove a radiator.