birth control and weed

can I smoke weed while on birth control? will it make the pill ineffective?