I’m worried

So I didn’t actually have vaginal sex. My boyfriend and I were trying anal for the first time and we weren’t using a condom. I didn’t like it so we stopped and he never came at all like we tried for like three minutes and we stopped. Anyways, now I’m worried becuase his penis was definitely around the area of my vagina but it never went in and he never came. I can’t remember if his penis touched my vagina or not but it was definitely close and I’m super terrified that there was precum but like I said, it never went in my vagina. I’m on the combo pill but when we have sex, we always use a condom. But this time he didn’t use a condom to try anal cus I’m dumb and didn’t know any better and now I’m freaking out. I’m just worried that my pill doesn’t work because I’ve taken ovulation tests in the past and sometimes they come back positive. Could I have gotten pregnant if his penis never went inside my vagina and he never came??