Advice please

Dorothy
Okay so so I had brown spotting from the 20th to the 23rd abd my af was due the time it happened no af yet, what could the brown spotting mean? Should I test?