Pregnancy test ?

Had unprotected sex on the 18 & 19 of July my period isn't expected until the 18 of this month would it be soon to test ? Or do I have to wait longer ?