You go through an accredited radiography program. Radiology is the
general term for radiography, CT, MRI, sonography, nuclear medicine,
mammography, etc.
You can become a radiology tech in two years. If you want to be a radiologist you will need a bachelors degree, plus medical school, plus 5 years of residency.