The pill

I’m almost a month in on the pill now and my doctor told me I should be okay to have sex (without condoms) after a month. Did any of you get pregnant while on the pill? I’m 14 weeks postpartum!