Smoking while on birth control

So I just got birth control pills and my doctor says I can't smoke wile on it. I smoke a lot of weed on the daily and sometimes have a few cigarettes too. I know I'll have to stop smoking the cigarettes but I was wondering weed is still safe while on the pill.