Several safety measures are in place to protect patients and healthcare workers from the risks associated with X-rays. These include using shielding devices, regularly calibrating X-ray equipment, and adhering to stringent regulatory guidelines. Healthcare workers who frequently operate X-ray machines also wear dosimeters to monitor their radiation exposure levels.