How soon?

My period just left. I had sex without a condom it was my first time. It was a bit of pre come but he wasn’t all the way in me. How soon can I take a pregnancy test? Oh yeah I’m not ovulating yet according to this app.