When can I take a pregnancy test?

What is the EARLIEST I can take a pregnancy test and actually test positive if I am. I had sex on the 17th when it predicted I was ovulating 13th-19th.

It wasn’t planned so I never took an ovulation test for more accuracy.