How can you tell when you are not pregnant?

If you get your period or when you take a pregnancy test 14 days after having sex and it comes up negative.