I need reassurance

So I just had anal with my boyfriend and we used a condom. During it he was putting his dick in but before his whole tip even went in the condom broke but he pulled out as soon as we heard it break. There was some precum but he didn’t touch or go in my vagina with the precum. Do I have any risk of pregnancy from what happened?

Btw I’m also on the birth control pill and ended my period 3 days ago.