Period regulation

How long does it take your period to regulate after being on birth control for a long time and then switching to not being on birth control?