Antibiotics in pregnancy

Has anyone taken a Z-pack in pregnancy? My OB prescribed it for a terrible sinus infection I have, but I’m hesitant to take much medicine although I’m sure it’s safe.