Chest X-ray while pregnant?

Hey! I’m 11w5days and I’m having a cough and trouble breathing and I want to go to the doctor but I’m worried they’ll wanna do an X-ray of my chest?? Is this safe? Maybe as long as I cover my baby with a shield? Anyone have Any experience with this? I’m a FTM and I’m skeptical of everything. Advice is so welcome!