X-rays are used during this procedure. The amount of radiation during this test is safe. But this same amount could be dangerous for unborn children. It is important to make sure you are not pregnant before a barium enema.