Is it OK to take the pill, contraception, if you have BRCA1 or BRCA2 ...

Is it OK to take the pill, contraception, if you have BRCA1 or BRCA2 ...