Freaking out

I am at the mercy of Texas sex education. "Just don't do it!" I honestly never learned what I needed to know about my body and sex and now as an adult, I'm just clueless.

I didn't start having sex until I was 23 (I'm 27 now) and recently had unprotected sex. I figured I was okay because I got my period like 3 or 4 days later... but lately I'm really gassy. My next period is supposed to be in 14. Is it possible that I could be pregnant even if my period showed up so soon after the last time I had sex. I am so sorry this is such a stupid question 😐