An x-ray is a painless way of using a type of radiation to take two-dimensional pictures of your organs and bones to find out where the problem is.
What is it used for?
It can show abnormal areas in your body such as tumours and bone problems. If you have a contrast dye, it will also highlight things such as your blood vessels as it moves through them. Mammography and angiography are types of x-ray. If you have a contrast dye at the same time, the x-ray will also highlight things such as your blood vessels as the dye moves through them.
Do I need to prepare?
You do not usually need to prepare for an x-ray. If you do need to prepare, your key worker will explain what to do.
What happens during the procedure?
You may lie on a table or stand against a flat surface so the part of your body being examined is between the x-ray machine and a photographic plate.
The x-ray itself lasts for a fraction of a second but the whole procedure may take between 30 and 60 minutes.
Before the test you may be asked to drink a liquid or you may be given an enema or injection containing a dye (contrast medium) that makes your organs or blood vessels show up more clearly. The dye is harmless and will pass out of your body in your urine.
In rare cases it can cause an allergic reaction, so the radiologist will ask you if you have had an allergic reaction to contrast medium in the past or if you have any other allergies. A reaction is usually easily treated with medication.
NHS Choices explains more about x-rays.