Is it enough to keep me not pregnant?

Starting a medication that I cannot get pregnant on. The doctor really emphasized that normally she wouldn't put someone on it unless they are on birth control but since my medical issues don't allow for that either I have to rely on just condoms with my husband. Would you feel comfortable with just condoms for protection?