Period and test

Jasmine
I had sex while ovulating but my cycle came on and early should i still take a test?