Help please!

Boyfriend and I had sex the day before my fertile window opened (day 9) and he did not ejaculate in me, he pulled out but I'm afraid still so I took plan b right away (like hour and a half later). How does this affect my cycle?