When safe to have sex on pill

Louise
I gave birth 7 weeks ago, and yesterday I got a prescription for the pill. I haven't had my period yet, but my Dr said I could just start it now. How long do I have to take the pill before having sex without a condom again? Have I got to wait a week for it to get into my system??