Emergency contraception

I had sex yesterday with a condom but he wanted to take it off, he told me he wouldn't cum but :/ I'm worried because of Precum. I bought the pill and just took it but I'm still extremely worried :(