bacterial infection

AAA

at 6 weeks pregnant my doc prescribed me clindamycin for a week but the infection did not went away i am 8 weeks currently my appointment is scheduled for next week i am very much worried about the odds....is it safe to take the treatment again? can the bacterial infection hurt the baby or pregnancy?