Implantation spotting

Marisela

Has anyone had this happen? My period isn’t due until the 10th buy yesterday I had a little spotting only when I whipped 2x and today only twice too. It’s light brown color. When should I take a pregnancy test? Also having slight cramping.