Discharge and inflammation

Patient: After intercourse I found little blood, and then after two days after other intercourse I found blood in the next day and in the third day I found dark brown discharge and then the discharge repeated and its color was dark yellow and white, I went to the doctor and she said that I have little inflammation of the cervix and a lot of discharges and described to me the treatment: Flagel and Clindamycin vaginal cream, I took only one tablet of Flagel and two doses of Clindamycin and then I found out that I am pregnant? dose the previous medicine that I have taken affect on the fetus?????

Doctor: