Is it safe to take Metronidazole at 29 weeks?

Pickle

My doctor just prescribed it to me at 500mg! Has anyone else ever taken this amount in the third trimester and baby was okay?