Brown discharge

Have had brown discharge for the past few days When I wipe. Period starts in 10 days. Should I take a test?