How many weeks??

How many weeks after having unprotected sex should I take a pregnancy test? (He came inside me)