When to test??

I had unprotected sex late last night/ early AM with my husband. My chances for pregnancy was 15-27% percent. When is the earliest I can test? I am expecting my period around the 21st.