Testing with irregular cycles

I finally got my first period last month after 6 months off of the pill. I had irregular periods before the pill and I have no idea when I should take a pregnancy test since I have no idea when my next period will come. Any advice?