Just wondering

How effective are condoms? I was on the pill for a few months but had to stop taking it because it made me extremely sick so I’ve just been using condoms for the past few times. Am I still protected?