Irregluar periods so on birth control

Shaniece
I just went to my Obgyn this Friday . He put me on the pill because of my periods being so irregluar . My fiancé and were a little confused on how this will help us but he told me to take th my next period this month then in January in the beginning come back to run test . Would love to know have  anyone got pregnant trying this ??