Need advice..

Grace

So my period normally lasts 5 days. The day after my period ended I had a bit of spotting, I don’t know if you would consider it heavy spotting or a light flow, and I started experiencing headaches. Also, on the 6th day my spotting had seem to have gone away until me and my husband had sex. On the 7th day I still spotted but it was about a medium amount and again I still had a headache. Does anyone have any guesses on what could be going on?