When should I take a test?

The hearts are when we had sex and the dots on the 26&27 I spotted and on the 31 I had increased discharge. I’m usually always on time. When should I take a test?