Pregnant?

I started the pill 7 days ago and today my boyfriend came in me. My doctor told me to wait 7 days and I'd be fine, but I found a lot of people saying to wait at least a month after starting the pill. I'm worried that I might get pregnant. Will I get pregnant? What should I do?