Antibiotics + the pill

My doctor prescribed me antibiotics for vaginal bacteria. Will it decrease the effectiveness of my bc pill? Is it dangerous to take at the same time?