How early can I test

My first day of period was 6th feb and me an my partner had sex on the 19th and 20th of feb. when can I take a pregnancy test?