X-ray and pregnancy

Britt
I got an x-ray done on my foot today, i had sex 4 days before expected period and i hear that pregnancy can still happen, i was suppose to start period today and no sign of it, if anything would it still be safe if i still went with the x-ray if i was pregnant? Would anything be affected? I was put this large heavy blanket on my stomach to block away radiation. 
Please help, thank you!