Help help help!

Lydia

I am on my sugar/period pills right now and me and my boyfriend had sex last night and he didn’t pull out! Am I still protected or should I go get plan B?