Pill Birth Control

I just left my gyno and informed her that I will be starting to try and get pregnant after my next pill pack.

Why would the doctor say I should allow 2 periods after my last pill before trying to get pregnant?