advice on cycle and fertility window

need your advice huni in think I missed my fertile window but I'm not sure I had a regular period on the 22nd June then from 5th - 7th maybe 8th I had spotting when I started spotting it said my period wasn't due for another 11 days I think it was spotting rather then a light bleed as it was little areas of blood and I didn't have to change my pad at all it was such a utter amount and was on toilet paper as well if u had my period on the 22nd and spotting on the 5th 7th or 8th and the spottibg started 11 days before my period was due when would my fertile window be I have a 24 day cycle length between periods and have four days if bleeding period