Should I be ok?

Ok so I lost my virginity on the 11th and had sex again on the 12th. I am on the pill and he used a condom and pulled out. On my <a href="https://play.google.com/store/apps/details?id=com.glow.android.eve">period app</a> it says that the 11th and 12th was my fertile window. Should I have to worry about being pregnant since I did it in my fertile window. I’m just not sure if the window counts while on the pill.

Also my period starts on the 30th and after losing my virginity I bled for 4 days with brown spotting for another 4. I’ve also had slight stomach cramps, and mood swings but idk if it’s PMS.

I’m sorry I sound so inexperienced i’m just asking for help!!