Scared to have sex with bf

So I got prescribed YAZ for my acne and to continue doxycline. Will the Doxy Cancel out my YAZ for preventing pregnancy?? Is anyone on YAZ with another pill like for acne or anything and has had problems with the pill being ineffective? I'm scared to have sex with my boyfriend while on it and using condoms.... I have GAD so I can't stop stressing. Thank u.