Question

I had sex yesterday on the 25 and I had a white creamy discharge too if I am pregnant when would be the best time to take a test ??