Days past ovulation

How many dpo do you have to wait in order to take a pregnancy test?