When is the earliest ??

So I ovulated cd 30 I’m on cd 37 when should I take a pregnancy test ? When would it be accurate the best