Birth control effective?

How long does it take for birth control (the pill) to become effective?