testing time

How long do you wait to have a pregnancy test? From when you've last ovulated. Xx