Pregnancy

Ok guys so my boyfriend and I have been having a lot of unprotected sex I'm really trying to get pregnant, when and how can I find out ASAP? How long after having sex will the test determined if I am pregnant or not ?