The pill and pregancy question

So I had sex about 7 weeks ago now and I started the pill the same day I had sex so it wasn’t active . We used a condom and he pulled out .

I got my withdrawal bleeding only 5 days were heavy . And then I went off the pill because I got hives from it . I haven’t had sex since 7 weeks ago could I be pregnant? Or not possible