Pregnancy scare

So I had intercourse May 26th got my cycle June 2 I believe or June 3 but I still am nervous about maybe being pregnant. A condom was used but I’m still nervous. Along with that my cycle length averages between 27 days to 30 days. Idk when’s the right time to take a test to make sure. I’ve become a bit paranoid. Don’t know what to think.