When to test?

Is 30 days after intercourse enough time to take a pregnancy test?!