Dental xray

Will a dental x ray harm the baby? I did one just now and honestly forgot to tell the doc i was pregnant. I know i feel so stupid and I’m panicking