Late period

When is the best time to take a pregnancey test? How late should you be?