Help please

Can I get pregnant if my parter did the pull out on time, came outside, I was almost on my period day and I took the day after pill? I'm very worried because I suppose to get my period today and I don't know if it's because of the pill effects. HELP! 😭