Time for the hard questions

When I was 15, I was put on the pill to regulate my period, due to my period disappearing for 2.5 months. I stayed on the pill until My last pack was finished in the beginning of January this year due to having gotten married at The end of August last year. I’m now 30. So I was on the pill for 15 years. My question is that while my dr said that waiting the 3 months should be fine, everyone else is saying it will take up to a full year to get

“ the pill” fully out of my system due to how long I was on it for. Could you ladies help a gal out and figure which one is the truth???