Is Yaz pill less effective ?

Patient: Hi I wondering about this question,I am taking the yaz pill for 5 months now and also taking B12’s, will these interfer with my yaz pills? I have heard that some minerals can interfer and cause some pregnancies due to making them less effective, is this true?Thank you for your time