The following antibiotics are generally considered safe during pregnancy:
Amoxicillin
Ampicillin
Clindamycin
Erythromycin
Penicillin
It's probably fine, but you could always call your doctor and make sure the antibiotics you were prescribed are OK during pregnancy. Best of luck!