when to take pregnancy test

I just finished ovulating and had plenty of sex during my ovulation period. When’s the soonest I can take a pregnancy test? Help :)