It usually takes around 2 weeks at the least from the time you had sex, for a test to come out positive. If you have already had your period, then you are not pregnant, but if not and it has already been around 2 weeks, then you can try to take a test already.