If not implantation then what?

Hi ladies! I've been spotting brown discharge for a full week but then AF showed in full force. Anyone have any idea why this happened and what could have been the cause? Obviously not implantation.