Pregnancy signs?

L

Ovulation pain on 31st May, slight spotting on 8th June, nausea, headaches, bloating. When is earliest to do test?