Do you have to be on the pill and use a condom to not get pregnant?

The easiest way to not get pregnant, and the safest, AND the most effective, is to not have sex until you are ready to become a mother. Not having sex has a 100% safety rate, it is far and away the safest with 0% chance of getting an STD, 0% chance of getting pregnant, and 0% chance of having emotional problems with a "sex partner."