How many pills until..

How many birth control pills do I need to take before I am protected from getting pregnant? Xxxx