Bacterial Infection

Yesterday I had a pap smear/cultures done . My Dr office called today and said that I have a bacterial infection . I've never had this before .is this normal during pregnancy ? I am scared and upset .