Pregnancy test

The other day while I was in my fertile window I was intimate without protection, and how long does it take for a pregnant test to pick it up if you are or not?