Unprotected sex...

Tonight my bf and I had unprotected sex(first time unprotected) twice. We never planned on it or we would've used a condom like we usually do. But one thing led to another. He didn't pull out (yes I know its not effective most the time) but I heard pregnancy is unlikely when it gets closer to your period? My period is suppose to arrive in 3 days(it days on one app) or 7 days (it says on here)