If he didn't ejaculate inside of you and there was no problems with the condom, then you are not going to be or get pregnant.
If the pill is taken correctly (same time every day no missed pills) then it is 99% effective against pregancy and a condom is 98% effective if used correctly.
Stop worrying about being pregnant the chances are vertually impossible.