Spotting

I woke up early this morning for a pee break and noticed light red spotting in my underwear. My period ended a couple days ago, but we've been trying.

Should I take a test, and if so how soon? Like when would be the best time to take it?