what are the other possibilities of spotting 5 days before your period is due aside from implanatation?

so I spotted 5 days before my period is due & if it isnt implanatation bleed (because I had sex last July 22) What are the other possible reasons of the spotting? because I also had sex the same day & he wasnt fully erect then.. could it be the sex?