What type of x-ray? which area of the body?

It is advisable to avoid x-ray if you have doubt of pregnancy, but no need to worry if it already happend.

National Health Services of UK have this http://www.nhs.uk/chq/Pages/2294.aspx?CategoryID=54&SubCategoryID=130

and talk to your doctor as well.