Birth control

Does birth control permanently fix irregular periods? I have been on birth control for years due to having very irregular periods, but if I get off of it will they go back to being irregular or will they stay regular?