When is the soonest to test?

How may DPO can you test and get the best result? Day of missed period with frer?