Spotting

I spotted for about 4 days a week before my period and I have never had this issue before. Should I take a test? My period is due on Saturday 07/29.