Just Had Sex

Okay So I Just Had Sex With My Boyfriend....When Should I Use A pregnancy test?