Irregular cycle

I got off birth control pills in November 2019. Since then, I have been having very irregular cycles. I can go up to 45-50 days without having a period, and when I do have a “period”, it is very light spotting. How long will it take my body to regulate? When should I see my doctor about this?