Considering that most women don't know they are pregnant until close to 6 weeks I would say yes it is safe. But just don't take a prescription that wasn't prescribed to you.Also you can stop it and ask your dentist to prescribe something that is not contraindicated in preganancy. More than the infections, the drug can cause some defects if continued, so stop it and ask for alternate treatment.