Birth control pill query

Hi ladies

I’m going to be taking the birth control pill for the first time today. Is it effective immediately? Or how long should I wait until I can have sex without pregnancy again?