Got my period today I'm so sad.

chea
I just don't get it, I timed everything just right, my cycle was may 26/17 and my ovulation test said June 5-9 was my fertile period. My husband and I had sex on the 8,9,11 and 12th but I got my period anyway. Can someone help me figure out what went wrong.