How soon? Help..

Yesterday me and my boyfriend had sex and he came inside me.

How soon can I take a pregnancy test to find out if I am or not from it?