Skipped 2 periods

and now spotting. Idk when I should test. Should I wait til the spotting stops or how do you do that when you're so late on AF