Dental work

Anna
I have had a slight tooth ache and am going to the dentist. I'm 14 weeks pregnant and wondering if it's ok to get an X-ray imperative to find out if I have a cavity. My OB was informed, but I'm wondering what other experiences you all may have had. Thanks.