When to take a test

How many Dpo should I wait to test?